Nearest named color · #4B7817
#4B7817
Nearest named color: Master Chief
#4B7817 (rgb(75 120 23), hsl(88 68% 28%), oklch(0.521 0.133 132)) is closest to the named color Master Chief. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#4B7817
oklch(0.521 0.133 132)
Color conversions
- HEX
- #4b7817
- RGB
- rgb(75 120 23)
- HSL
- hsl(88 68% 28%)
- HWB
- hwb(88 9% 53%)
- OKLCH
- oklch(0.521 0.133 132)
- OKLab
- oklab(0.521 -0.089 0.099)
- CIE Lab
- lab(45.75 -27.96 43.83)
- LCH
- lch(45.75 51.99 122.5)
- CMYK
- cmyk(37% 0% 81% 53%)
Tints · Shades · Tones
Tints
- 5C8535
- 6D924D
- 7EA063
- 90AD79
- A2BB8F
- B4C8A5
- C6D6BB
- D9E3D1
- ECF1E8
Shades
- 406712
- 35570E
- 2B480A
- 213906
- 172A04
- 0E1D02
- 061001
- 020500
- 000100
Tones
- 517928
- 567A35
- 5B7B40
- 617C4A
- 667D54
- 6B7E5D
- 717E66
- 767F6F
- 7B8078
Color harmonies
Complementary +180°
- 4B7817
Master Chief
- 824FA0
≈ Royal Lilac
Analogous -30° +30°
- 4B7817
Master Chief
- 766B00
≈ Brown Green
- 007D54
≈ Sharp Green
Triadic +120° +240°
- 4B7817
Master Chief
- 236BB2
≈ Mid Blue
- A74255
≈ Rose Laffy Taffy
Split-complementary +150° +210°
- 4B7817
Master Chief
- 5F5CB3
≈ Blue Marguerite
- 9B467E
≈ Grape Riot
Tetradic +90° +180° +270°
- 4B7817
Master Chief
- 007591
≈ Cleopatra
- 824FA0
≈ Royal Lilac
- A64A22
≈ Potter’s Clay
Contrast & accessibility
Ag
AAOn white
WCAG 5.25:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.99:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--master-chief: #4b7817;
--master-chief-rgb: 75 120 23;
--master-chief-oklch: oklch(0.521 0.133 132);
}
.element {
color: var(--master-chief);
background-color: hsl(88 68% 28%);
border-color: oklch(0.521 0.133 132);
}Tailwind CSS v4
@theme {
--color-master-chief: #4b7817;
--color-master-chief-50: #e6fed8;
--color-master-chief-100: #d6f2c5;
--color-master-chief-200: #bde1a7;
--color-master-chief-300: #9bc780;
--color-master-chief-400: #81af58;
--color-master-chief-500: #64982e;
--color-master-chief-600: #558029;
--color-master-chief-700: #446721;
--color-master-chief-800: #334b13;
--color-master-chief-900: #22340c;
--color-master-chief-950: #121f01;
}SCSS
$master-chief: #4b7817;
$master-chief-rgb: 75, 120, 23;
$master-chief-light: mix(#fff, $master-chief, 20%);
$master-chief-dark: mix(#000, $master-chief, 20%);
.element {
color: $master-chief;
box-shadow: 0 0 0 2px rgba($master-chief, 0.35);
}