#7B8219#7B8219
#7B8219 is a mid, vivid yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.122 H 113.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7B8219 |
|---|---|
| RGB | rgb(123, 130, 25) |
| HSL | hsl(64, 68%, 30%) |
| HSV | hsv(64, 81%, 51%) |
| CMYK | cmyk(5.4%, 0%, 80.8%, 49%) |
| CIE-LAB | lab(52.12, -15.65, 51.13) |
| CIE-LCH | lch(52.12, 53.48, 107.02°) |
| OKLab | oklab(58.18% -0.0486 0.1115) |
| OKLCH | oklch(58.18% 0.122 113.6) |
| XYZ | xyz(16.3270, 20.2468, 3.9675) |
| Luminance | 0.2025 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.90
Swamp Green
#748500
ΔE00 2.76
Olive
#808000
ΔE00 2.78
Poop Green
#6F7C00
ΔE00 3.27
Murky Green
#6C7A0E
ΔE00 4.10
Olive Green
#677A04
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B8219 #201982
analogous
#825419 #7B8219 #468219
triadic
#7B8219 #197B82 #82197B
tetradic
#7B8219 #198254 #201982 #821946
square
#7B8219 #198254 #201982 #821946
split-complementary
#7B8219 #194682 #541982
monochromatic
#1A1B05 #4A4F0F #7B8219 #ACB523 #CFD93C
Accessibility & contrast
On white
4.16
#7B8219 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#7B8219 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B8219
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B8219 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B8219 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#847A6F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7b8219; /* rgb */ color: rgb(123, 130, 25); /* oklch */ color: oklch(58.2% 0.122 113.6);
Tailwind
colors: {
custom: {
50: '#a4a660',
500: '#7b8219',
950: '#000000',
},
}SCSS
$custom: #7b8219; $custom-light: #a4a660; $custom-dark: #000000;
JSON
{
"hex": "#7b8219",
"rgb": {
"r": 123,
"g": 130,
"b": 25
},
"hsl": {
"h": 64,
"s": 67.742,
"l": 30.392
},
"oklch": {
"l": 0.58184,
"c": 0.12159,
"h": 113.6
},
"luminance": 0.20246
}Semantic roles & 50–950 ramp
primary
#7B8219
secondary
#4941B6
accent
#3DEB49
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79