#7B7E27#7B7E27
#7B7E27 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.108 H 111.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7E27 |
|---|---|
| RGB | rgb(123, 126, 39) |
| HSL | hsl(62, 53%, 32%) |
| HSV | hsv(62, 69%, 49%) |
| CMYK | cmyk(2.4%, 0%, 69%, 50.6%) |
| CIE-LAB | lab(51.01, -12.79, 44.90) |
| CIE-LCH | lch(51.01, 46.69, 105.91°) |
| OKLab | oklab(57.33% -0.0393 0.1009) |
| OKLCH | oklch(57.33% 0.108 111.3) |
| XYZ | xyz(15.9959, 19.2795, 4.7978) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.67
Olive
#808000
ΔE00 3.91
Poop Green
#6F7C00
ΔE00 4.00
Murky Green
#6C7A0E
ΔE00 4.11
Olive (survey)
#6E750E
ΔE00 4.27
Drab
#828344
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7E27 #2A277E
analogous
#7E5627 #7B7E27 #507E27
triadic
#7B7E27 #277B7E #7E277B
tetradic
#7B7E27 #277E56 #2A277E #7E2750
square
#7B7E27 #277E56 #2A277E #7E2750
split-complementary
#7B7E27 #27507E #56277E
monochromatic
#20210A #4D4F19 #7B7E27 #A9AD35 #C6CA55
Accessibility & contrast
On white
4.32
#7B7E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#7B7E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7E27
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7E27 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88781A
Deuteranopia (green-blind)
#887B2D
Tritanopia (blue-blind)
#84766C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7b7e27; /* rgb */ color: rgb(123, 126, 39); /* oklch */ color: oklch(57.3% 0.108 111.3);
Tailwind
colors: {
custom: {
50: '#a4a367',
500: '#7b7e27',
950: '#000000',
},
}SCSS
$custom: #7b7e27; $custom-light: #a4a367; $custom-dark: #000000;
JSON
{
"hex": "#7b7e27",
"rgb": {
"r": 123,
"g": 126,
"b": 39
},
"hsl": {
"h": 62.069,
"s": 52.727,
"l": 32.353
},
"oklch": {
"l": 0.57329,
"c": 0.10824,
"h": 111.3
},
"luminance": 0.19279
}Semantic roles & 50–950 ramp
primary
#7B7E27
secondary
#5552AF
accent
#4CDC51
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A