#6B7B15#6B7B15
#6B7B15 is a mid, vivid yellow. Relative luminance 0.173; OKLCH L 55.1% C 0.121 H 118.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6B7B15 |
|---|---|
| RGB | rgb(107, 123, 21) |
| HSL | hsl(69, 71%, 28%) |
| HSV | hsv(69, 83%, 48%) |
| CMYK | cmyk(13%, 0%, 82.9%, 51.8%) |
| CIE-LAB | lab(48.69, -19.38, 48.82) |
| CIE-LCH | lch(48.69, 52.53, 111.66°) |
| OKLab | oklab(55.11% -0.0583 0.1064) |
| OKLCH | oklch(55.11% 0.121 118.7) |
| XYZ | xyz(13.2820, 17.3460, 3.3577) |
| Luminance | 0.1735 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 0.88
Olive Green
#677A04
ΔE00 1.29
Poop Green
#6F7C00
ΔE00 2.05
Olive (survey)
#6E750E
ΔE00 3.02
Shit Green
#758000
ΔE00 3.49
Dirty Green
#667E2C
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B7B15 #25157B
analogous
#7B5815 #6B7B15 #387B15
triadic
#6B7B15 #156B7B #7B156B
tetradic
#6B7B15 #157B58 #25157B #7B1538
square
#6B7B15 #157B58 #25157B #7B1538
split-complementary
#6B7B15 #15387B #58157B
monochromatic
#171A04 #3E470C #6B7B15 #98AF1E #C0DB2F
Accessibility & contrast
On white
4.70
#6B7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#6B7B15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B7B15
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B7B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B7B15 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#727469
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6b7b15; /* rgb */ color: rgb(107, 123, 21); /* oklch */ color: oklch(55.1% 0.121 118.7);
Tailwind
colors: {
custom: {
50: '#99a15d',
500: '#6b7b15',
950: '#000000',
},
}SCSS
$custom: #6b7b15; $custom-light: #99a15d; $custom-dark: #000000;
JSON
{
"hex": "#6b7b15",
"rgb": {
"r": 107,
"g": 123,
"b": 21
},
"hsl": {
"h": 69.412,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.55109,
"c": 0.12134,
"h": 118.7
},
"luminance": 0.17346
}Semantic roles & 50–950 ramp
primary
#6B7B15
secondary
#4E3BB0
accent
#3AEE56
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79