#757D12#757D12
#757D12 is a mid, vivid yellow. Relative luminance 0.185; OKLCH L 56.4% C 0.121 H 114.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #757D12 |
|---|---|
| RGB | rgb(117, 125, 18) |
| HSL | hsl(64, 75%, 28%) |
| HSV | hsv(64, 86%, 49%) |
| CMYK | cmyk(6.4%, 0%, 85.6%, 51%) |
| CIE-LAB | lab(50.09, -16.00, 51.19) |
| CIE-LCH | lch(50.09, 53.64, 107.35°) |
| OKLab | oklab(56.43% -0.0498 0.1105) |
| OKLCH | oklch(56.43% 0.121 114.2) |
| XYZ | xyz(14.7794, 18.4931, 3.3631) |
| Luminance | 0.1849 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poop Green
#6F7C00
ΔE00 1.64
Shit Green
#758000
ΔE00 1.64
Murky Green
#6C7A0E
ΔE00 2.31
Olive (survey)
#6E750E
ΔE00 3.07
Olive
#808000
ΔE00 3.42
Olive Green
#677A04
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#757D12 #1A127D
analogous
#7D4F12 #757D12 #3F7D12
triadic
#757D12 #12757D #7D1275
tetradic
#757D12 #127D4F #1A127D #7D123F
square
#757D12 #127D4F #1A127D #7D123F
split-complementary
#757D12 #123F7D #4F127D
monochromatic
#191B04 #43480A #757D12 #A7B21A #D3E029
Accessibility & contrast
On white
4.47
#757D12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#757D12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #757D12
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##757D12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##757D12 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#87781D
Tritanopia (blue-blind)
#7D756A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #757d12; /* rgb */ color: rgb(117, 125, 18); /* oklch */ color: oklch(56.4% 0.121 114.2);
Tailwind
colors: {
custom: {
50: '#a0a25d',
500: '#757d12',
950: '#000000',
},
}SCSS
$custom: #757d12; $custom-light: #a0a25d; $custom-dark: #000000;
JSON
{
"hex": "#757d12",
"rgb": {
"r": 117,
"g": 125,
"b": 18
},
"hsl": {
"h": 64.486,
"s": 74.825,
"l": 28.039
},
"oklch": {
"l": 0.56427,
"c": 0.12122,
"h": 114.2
},
"luminance": 0.18493
}Semantic roles & 50–950 ramp
primary
#757D12
secondary
#4138B3
accent
#36F144
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0F05
muted
#7F7E79