#7F7618#7F7618
#7F7618 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.109 H 103.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7618 |
|---|---|
| RGB | rgb(127, 118, 24) |
| HSL | hsl(55, 68%, 30%) |
| HSV | hsv(55, 81%, 50%) |
| CMYK | cmyk(0%, 7.1%, 81.1%, 50.2%) |
| CIE-LAB | lab(48.93, -7.30, 48.73) |
| CIE-LCH | lch(48.93, 49.28, 98.52°) |
| OKLab | oklab(55.72% -0.0256 0.1059) |
| OKLCH | oklch(55.72% 0.109 103.6) |
| XYZ | xyz(15.3964, 17.5355, 3.4377) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.33
Brown Green
#706C11
ΔE00 4.53
Olive
#808000
ΔE00 4.68
Browny Green
#6F6C0A
ΔE00 4.68
Hazel
#8E7618
ΔE00 5.07
Olive (survey)
#6E750E
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7618 #18217F
analogous
#7F4218 #7F7618 #557F18
triadic
#7F7618 #187F76 #76187F
tetradic
#7F7618 #187F42 #18217F #7F1855
square
#7F7618 #187F42 #18217F #7F1855
split-complementary
#7F7618 #18557F #42187F
monochromatic
#1A1805 #4C460E #7F7618 #B2A622 #D9CB38
Accessibility & contrast
On white
4.66
#7F7618 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#7F7618 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7618
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7618 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7618 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f7618; /* rgb */ color: rgb(127, 118, 24); /* oklch */ color: oklch(55.7% 0.109 103.6);
Tailwind
colors: {
custom: {
50: '#a89d5e',
500: '#7f7618',
950: '#000000',
},
}SCSS
$custom: #7f7618; $custom-light: #a89d5e; $custom-dark: #000000;
JSON
{
"hex": "#7f7618",
"rgb": {
"r": 127,
"g": 118,
"b": 24
},
"hsl": {
"h": 54.757,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.55723,
"c": 0.109,
"h": 103.6
},
"luminance": 0.17535
}Semantic roles & 50–950 ramp
primary
#7F7618
secondary
#3F4AB3
accent
#4CEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79