#6F781F#6F781F
#6F781F is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.8% C 0.110 H 115.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #6F781F |
|---|---|
| RGB | rgb(111, 120, 31) |
| HSL | hsl(66, 59%, 30%) |
| HSV | hsv(66, 74%, 47%) |
| CMYK | cmyk(7.5%, 0%, 74.2%, 52.9%) |
| CIE-LAB | lab(48.15, -15.50, 44.97) |
| CIE-LCH | lch(48.15, 47.56, 109.02°) |
| OKLab | oklab(54.77% -0.0469 0.1) |
| OKLCH | oklch(54.77% 0.11 115.2) |
| XYZ | xyz(13.5197, 16.9116, 3.8481) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 1.99
Murky Green
#6C7A0E
ΔE00 2.05
Poop Green
#6F7C00
ΔE00 3.08
Olive Green
#677A04
ΔE00 3.08
Olive Drab
#6F7632
ΔE00 3.25
Brownish Green
#6A6E09
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F781F #281F78
analogous
#78541F #6F781F #43781F
triadic
#6F781F #1F6F78 #781F6F
tetradic
#6F781F #1F7854 #281F78 #781F43
square
#6F781F #1F7854 #281F78 #781F43
split-complementary
#6F781F #1F4378 #541F78
monochromatic
#161806 #424712 #6F781F #9CA92C #C0CE43
Accessibility & contrast
On white
4.79
#6F781F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#6F781F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F781F
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F781F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F781F | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#767167
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6f781f; /* rgb */ color: rgb(111, 120, 31); /* oklch */ color: oklch(54.8% 0.110 115.2);
Tailwind
colors: {
custom: {
50: '#9b9e61',
500: '#6f781f',
950: '#000000',
},
}SCSS
$custom: #6f781f; $custom-light: #9b9e61; $custom-dark: #000000;
JSON
{
"hex": "#6f781f",
"rgb": {
"r": 111,
"g": 120,
"b": 31
},
"hsl": {
"h": 66.067,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.54769,
"c": 0.11043,
"h": 115.2
},
"luminance": 0.16911
}Semantic roles & 50–950 ramp
primary
#6F781F
secondary
#5147AB
accent
#46E255
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A