#707F1F#707F1F
#707F1F is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.6% C 0.119 H 118.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #707F1F |
|---|---|
| RGB | rgb(112, 127, 31) |
| HSL | hsl(69, 61%, 31%) |
| HSV | hsv(69, 76%, 50%) |
| CMYK | cmyk(11.8%, 0%, 75.6%, 50.2%) |
| CIE-LAB | lab(50.36, -18.76, 47.14) |
| CIE-LCH | lch(50.36, 50.73, 111.70°) |
| OKLab | oklab(56.57% -0.056 0.1045) |
| OKLCH | oklch(56.57% 0.119 118.2) |
| XYZ | xyz(14.5191, 18.7225, 4.1450) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 2.27
Poop Green
#6F7C00
ΔE00 2.63
Olive Green
#677A04
ΔE00 2.85
Shit Green
#758000
ΔE00 3.09
Swamp Green
#748500
ΔE00 3.49
Dirty Green
#667E2C
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#707F1F #2E1F7F
analogous
#7F5E1F #707F1F #407F1F
triadic
#707F1F #1F707F #7F1F70
tetradic
#707F1F #1F7F5E #2E1F7F #7F1F40
square
#707F1F #1F7F5E #2E1F7F #7F1F40
split-complementary
#707F1F #1F407F #5E1F7F
monochromatic
#191D07 #454E13 #707F1F #9BB02B #BCD246
Accessibility & contrast
On white
4.43
#707F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#707F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #707F1F
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##707F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##707F1F | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#77786D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #707f1f; /* rgb */ color: rgb(112, 127, 31); /* oklch */ color: oklch(56.6% 0.119 118.2);
Tailwind
colors: {
custom: {
50: '#9ca462',
500: '#707f1f',
950: '#000000',
},
}SCSS
$custom: #707f1f; $custom-light: #9ca462; $custom-dark: #000000;
JSON
{
"hex": "#707f1f",
"rgb": {
"r": 112,
"g": 127,
"b": 31
},
"hsl": {
"h": 69.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.56566,
"c": 0.11857,
"h": 118.2
},
"luminance": 0.18722
}Semantic roles & 50–950 ramp
primary
#707F1F
secondary
#5848B2
accent
#44E45D
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F05
muted
#7E7F7A