#777F12#777F12
#777F12 is a mid, vivid yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.123 H 114.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #777F12 |
|---|---|
| RGB | rgb(119, 127, 18) |
| HSL | hsl(64, 75%, 28%) |
| HSV | hsv(64, 86%, 50%) |
| CMYK | cmyk(6.3%, 0%, 85.8%, 50.2%) |
| CIE-LAB | lab(50.86, -16.14, 51.91) |
| CIE-LCH | lch(50.86, 54.37, 107.27°) |
| OKLab | oklab(57.08% -0.0503 0.112) |
| OKLCH | oklch(57.08% 0.123 114.2) |
| XYZ | xyz(15.3068, 19.1447, 3.4611) |
| Luminance | 0.1914 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.22
Poop Green
#6F7C00
ΔE00 2.07
Swamp Green
#748500
ΔE00 2.89
Murky Green
#6C7A0E
ΔE00 2.94
Olive
#808000
ΔE00 2.98
Olive (survey)
#6E750E
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#777F12 #1A127F
analogous
#7F5012 #777F12 #407F12
triadic
#777F12 #12777F #7F1277
tetradic
#777F12 #127F50 #1A127F #7F1240
square
#777F12 #127F50 #1A127F #7F1240
split-complementary
#777F12 #12407F #50127F
monochromatic
#191B04 #45490A #777F12 #A9B51A #D3E12B
Accessibility & contrast
On white
4.35
#777F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#777F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #777F12
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##777F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##777F12 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#80776C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #777f12; /* rgb */ color: rgb(119, 127, 18); /* oklch */ color: oklch(57.1% 0.123 114.2);
Tailwind
colors: {
custom: {
50: '#a2a35d',
500: '#777f12',
950: '#000000',
},
}SCSS
$custom: #777f12; $custom-light: #a2a35d; $custom-dark: #000000;
JSON
{
"hex": "#777f12",
"rgb": {
"r": 119,
"g": 127,
"b": 18
},
"hsl": {
"h": 64.404,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.57083,
"c": 0.12276,
"h": 114.2
},
"luminance": 0.19144
}Semantic roles & 50–950 ramp
primary
#777F12
secondary
#4138B5
accent
#36F244
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#0F0F05
muted
#7F7F79