#7B8419#7B8419
#7B8419 is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.124 H 114.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7B8419 |
|---|---|
| RGB | rgb(123, 132, 25) |
| HSL | hsl(65, 68%, 31%) |
| HSV | hsv(65, 81%, 52%) |
| CMYK | cmyk(6.8%, 0%, 81.1%, 48.2%) |
| CIE-LAB | lab(52.71, -16.71, 51.67) |
| CIE-LCH | lch(52.71, 54.30, 107.92°) |
| OKLab | oklab(58.66% -0.0515 0.1126) |
| OKLCH | oklch(58.66% 0.124 114.6) |
| XYZ | xyz(16.5956, 20.7840, 4.0570) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.10
Swamp Green
#748500
ΔE00 2.24
Olive
#808000
ΔE00 3.27
Poop Green
#6F7C00
ΔE00 3.61
Murky Green
#6C7A0E
ΔE00 4.47
Olive Green
#677A04
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B8419 #221984
analogous
#845719 #7B8419 #458419
triadic
#7B8419 #197B84 #84197B
tetradic
#7B8419 #198457 #221984 #841945
square
#7B8419 #198457 #221984 #841945
split-complementary
#7B8419 #194584 #571984
monochromatic
#1B1D06 #4B510F #7B8419 #ABB723 #CDDA3D
Accessibility & contrast
On white
4.07
#7B8419 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#7B8419 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B8419
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B8419 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B8419 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#847C70
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7b8419; /* rgb */ color: rgb(123, 132, 25); /* oklch */ color: oklch(58.7% 0.124 114.6);
Tailwind
colors: {
custom: {
50: '#a4a760',
500: '#7b8419',
950: '#000000',
},
}SCSS
$custom: #7b8419; $custom-light: #a4a760; $custom-dark: #000000;
JSON
{
"hex": "#7b8419",
"rgb": {
"r": 123,
"g": 132,
"b": 25
},
"hsl": {
"h": 65.047,
"s": 68.153,
"l": 30.784
},
"oklch": {
"l": 0.58663,
"c": 0.12383,
"h": 114.6
},
"luminance": 0.20784
}Semantic roles & 50–950 ramp
primary
#7B8419
secondary
#4B41B8
accent
#3DEB4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A