#7A7B1B#7A7B1B
#7A7B1B is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.113 H 110.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7B1B |
|---|---|
| RGB | rgb(122, 123, 27) |
| HSL | hsl(61, 64%, 29%) |
| HSV | hsv(61, 78%, 48%) |
| CMYK | cmyk(0.8%, 0%, 78%, 51.8%) |
| CIE-LAB | lab(49.96, -12.26, 48.48) |
| CIE-LCH | lch(49.96, 50.01, 104.20°) |
| OKLab | oklab(56.44% -0.039 0.1062) |
| OKLCH | oklch(56.44% 0.113 110.2) |
| XYZ | xyz(15.3074, 18.3831, 3.7786) |
| Luminance | 0.1838 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.14
Olive (survey)
#6E750E
ΔE00 3.29
Shit Green
#758000
ΔE00 3.39
Poop Green
#6F7C00
ΔE00 3.52
Murky Green
#6C7A0E
ΔE00 3.84
Olive Green
#677A04
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7B1B #1C1B7B
analogous
#7B4C1B #7A7B1B #4A7B1B
triadic
#7A7B1B #1B7A7B #7B1B7A
tetradic
#7A7B1B #1B7B4C #1C1B7B #7B1B4A
square
#7A7B1B #1B7B4C #1C1B7B #7B1B4A
split-complementary
#7A7B1B #1B4A7B #4C1B7B
monochromatic
#191906 #484910 #7A7B1B #ACAD26 #D3D43C
Accessibility & contrast
On white
4.49
#7A7B1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#7A7B1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7B1B
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7B1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7B1B | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857504
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#837369
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7a7b1b; /* rgb */ color: rgb(122, 123, 27); /* oklch */ color: oklch(56.4% 0.113 110.2);
Tailwind
colors: {
custom: {
50: '#a4a060',
500: '#7a7b1b',
950: '#000000',
},
}SCSS
$custom: #7a7b1b; $custom-light: #a4a060; $custom-dark: #000000;
JSON
{
"hex": "#7a7b1b",
"rgb": {
"r": 122,
"g": 123,
"b": 27
},
"hsl": {
"h": 60.625,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.56439,
"c": 0.11316,
"h": 110.2
},
"luminance": 0.18383
}Semantic roles & 50–950 ramp
primary
#7A7B1B
secondary
#4443AF
accent
#41E743
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79