#777E12#777E12
#777E12 is a mid, vivid yellow. Relative luminance 0.189; OKLCH L 56.8% C 0.122 H 113.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #777E12 |
|---|---|
| RGB | rgb(119, 126, 18) |
| HSL | hsl(64, 75%, 28%) |
| HSV | hsv(64, 86%, 49%) |
| CMYK | cmyk(5.6%, 0%, 85.7%, 50.6%) |
| CIE-LAB | lab(50.56, -15.61, 51.66) |
| CIE-LCH | lch(50.56, 53.97, 106.81°) |
| OKLab | oklab(56.84% -0.0488 0.1114) |
| OKLCH | oklch(56.84% 0.122 113.7) |
| XYZ | xyz(15.1783, 18.8877, 3.4183) |
| Luminance | 0.1889 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.48
Poop Green
#6F7C00
ΔE00 2.05
Murky Green
#6C7A0E
ΔE00 2.86
Olive
#808000
ΔE00 2.92
Swamp Green
#748500
ΔE00 3.29
Olive (survey)
#6E750E
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#777E12 #19127E
analogous
#7E4F12 #777E12 #417E12
triadic
#777E12 #12777E #7E1277
tetradic
#777E12 #127E4F #19127E #7E1241
square
#777E12 #127E4F #19127E #7E1241
split-complementary
#777E12 #12417E #4F127E
monochromatic
#191B04 #44480A #777E12 #AAB41A #D5E12A
Accessibility & contrast
On white
4.40
#777E12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#777E12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #777E12
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##777E12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##777E12 | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#80766B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #777e12; /* rgb */ color: rgb(119, 126, 18); /* oklch */ color: oklch(56.8% 0.122 113.7);
Tailwind
colors: {
custom: {
50: '#a2a35d',
500: '#777e12',
950: '#000000',
},
}SCSS
$custom: #777e12; $custom-light: #a2a35d; $custom-dark: #000000;
JSON
{
"hex": "#777e12",
"rgb": {
"r": 119,
"g": 126,
"b": 18
},
"hsl": {
"h": 63.889,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.56842,
"c": 0.12166,
"h": 113.7
},
"luminance": 0.18887
}Semantic roles & 50–950 ramp
primary
#777E12
secondary
#4038B4
accent
#36F242
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#0F0F05
muted
#7F7F79