#6F7D18#6F7D18
#6F7D18 is a mid, vivid yellow. Relative luminance 0.181; OKLCH L 55.9% C 0.121 H 117.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #6F7D18 |
|---|---|
| RGB | rgb(111, 125, 24) |
| HSL | hsl(68, 68%, 29%) |
| HSV | hsv(68, 81%, 49%) |
| CMYK | cmyk(11.2%, 0%, 80.8%, 51%) |
| CIE-LAB | lab(49.63, -18.50, 48.85) |
| CIE-LCH | lch(49.63, 52.24, 110.74°) |
| OKLab | oklab(55.95% -0.0559 0.1069) |
| OKLCH | oklch(55.95% 0.121 117.6) |
| XYZ | xyz(14.0544, 18.1128, 3.6197) |
| Luminance | 0.1811 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 1.31
Poop Green
#6F7C00
ΔE00 1.76
Olive Green
#677A04
ΔE00 2.12
Shit Green
#758000
ΔE00 2.70
Olive (survey)
#6E750E
ΔE00 3.27
Swamp Green
#748500
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F7D18 #26187D
analogous
#7D5918 #6F7D18 #3D7D18
triadic
#6F7D18 #186F7D #7D186F
tetradic
#6F7D18 #187D59 #26187D #7D183D
square
#6F7D18 #187D59 #26187D #7D183D
split-complementary
#6F7D18 #183D7D #59187D
monochromatic
#171A05 #414A0E #6F7D18 #9DB022 #C2D937
Accessibility & contrast
On white
4.54
#6F7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#6F7D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6F7D18
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F7D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6F7D18 | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#76766A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #6f7d18; /* rgb */ color: rgb(111, 125, 24); /* oklch */ color: oklch(55.9% 0.121 117.6);
Tailwind
colors: {
custom: {
50: '#9ba25f',
500: '#6f7d18',
950: '#000000',
},
}SCSS
$custom: #6f7d18; $custom-light: #9ba25f; $custom-dark: #000000;
JSON
{
"hex": "#6f7d18",
"rgb": {
"r": 111,
"g": 125,
"b": 24
},
"hsl": {
"h": 68.317,
"s": 67.785,
"l": 29.216
},
"oklch": {
"l": 0.55948,
"c": 0.12059,
"h": 117.6
},
"luminance": 0.18113
}Semantic roles & 50–950 ramp
primary
#6F7D18
secondary
#4F3FB2
accent
#3DEB55
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0F05
muted
#7E7E79