#7A7F18#7A7F18
#7A7F18 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.119 H 112.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7F18 |
|---|---|
| RGB | rgb(122, 127, 24) |
| HSL | hsl(63, 68%, 30%) |
| HSV | hsv(63, 81%, 50%) |
| CMYK | cmyk(3.9%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(51.13, -14.55, 50.54) |
| CIE-LCH | lch(51.13, 52.59, 106.06°) |
| OKLab | oklab(57.37% -0.0456 0.11) |
| OKLCH | oklch(57.37% 0.119 112.5) |
| XYZ | xyz(15.7808, 19.3826, 3.7739) |
| Luminance | 0.1938 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.00
Olive
#808000
ΔE00 2.56
Poop Green
#6F7C00
ΔE00 2.86
Swamp Green
#748500
ΔE00 3.54
Murky Green
#6C7A0E
ΔE00 3.58
Olive (survey)
#6E750E
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7F18 #1D187F
analogous
#7F5118 #7A7F18 #467F18
triadic
#7A7F18 #187A7F #7F187A
tetradic
#7A7F18 #187F51 #1D187F #7F1846
square
#7A7F18 #187F51 #1D187F #7F1846
split-complementary
#7A7F18 #18467F #51187F
monochromatic
#191A05 #494C0E #7A7F18 #ABB222 #D2D938
Accessibility & contrast
On white
4.31
#7A7F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#7A7F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7F18
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7F18 | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#83776C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7a7f18; /* rgb */ color: rgb(122, 127, 24); /* oklch */ color: oklch(57.4% 0.119 112.5);
Tailwind
colors: {
custom: {
50: '#a4a35f',
500: '#7a7f18',
950: '#000000',
},
}SCSS
$custom: #7a7f18; $custom-light: #a4a35f; $custom-dark: #000000;
JSON
{
"hex": "#7a7f18",
"rgb": {
"r": 122,
"g": 127,
"b": 24
},
"hsl": {
"h": 62.913,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.57374,
"c": 0.11909,
"h": 112.5
},
"luminance": 0.19382
}Semantic roles & 50–950 ramp
primary
#7A7F18
secondary
#453FB3
accent
#3DEB45
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79