#6C781F#6C781F
#6C781F is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.5% C 0.111 H 117.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #6C781F |
|---|---|
| RGB | rgb(108, 120, 31) |
| HSL | hsl(68, 59%, 30%) |
| HSV | hsv(68, 74%, 47%) |
| CMYK | cmyk(10%, 0%, 74.2%, 52.9%) |
| CIE-LAB | lab(47.91, -16.86, 44.65) |
| CIE-LCH | lch(47.91, 47.73, 110.69°) |
| OKLab | oklab(54.51% -0.0505 0.0994) |
| OKLCH | oklch(54.51% 0.111 117) |
| XYZ | xyz(13.1484, 16.7202, 3.8307) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 1.95
Olive (survey)
#6E750E
ΔE00 2.46
Olive Green
#677A04
ΔE00 2.66
Poop Green
#6F7C00
ΔE00 3.25
Olive Drab
#6F7632
ΔE00 3.27
Dirty Green
#667E2C
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C781F #2B1F78
analogous
#78581F #6C781F #40781F
triadic
#6C781F #1F6C78 #781F6C
tetradic
#6C781F #1F7858 #2B1F78 #781F40
square
#6C781F #1F7858 #2B1F78 #781F40
split-complementary
#6C781F #1F4078 #581F78
monochromatic
#161806 #404712 #6C781F #98A92C #BCCE43
Accessibility & contrast
On white
4.83
#6C781F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#6C781F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C781F
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C781F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C781F | 1.00 | 4.83 | 4.34 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81710F
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#737167
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6c781f; /* rgb */ color: rgb(108, 120, 31); /* oklch */ color: oklch(54.5% 0.111 117.0);
Tailwind
colors: {
custom: {
50: '#999e61',
500: '#6c781f',
950: '#000000',
},
}SCSS
$custom: #6c781f; $custom-light: #999e61; $custom-dark: #000000;
JSON
{
"hex": "#6c781f",
"rgb": {
"r": 108,
"g": 120,
"b": 31
},
"hsl": {
"h": 68.09,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.54513,
"c": 0.11149,
"h": 117
},
"luminance": 0.1672
}Semantic roles & 50–950 ramp
primary
#6C781F
secondary
#5547AB
accent
#46E25B
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A