#2F420C#2F420C
#2F420C is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.081 H 127.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F420C |
|---|---|
| RGB | rgb(47, 66, 12) |
| HSL | hsl(81, 69%, 15%) |
| HSV | hsv(81, 82%, 26%) |
| CMYK | cmyk(28.8%, 0%, 81.8%, 74.1%) |
| CIE-LAB | lab(25.34, -16.97, 28.66) |
| CIE-LCH | lch(25.34, 33.31, 120.63°) |
| OKLab | oklab(35.07% -0.0487 0.0641) |
| OKLCH | oklch(35.07% 0.081 127.2) |
| XYZ | xyz(3.1869, 4.5272, 1.0537) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Olive
#373E02
ΔE00 4.49
Dark Olive Green
#3C4D03
ΔE00 5.02
Forrest Green
#154406
ΔE00 5.81
Navy Green
#35530A
ΔE00 6.03
Hunter Green (survey)
#0B4008
ΔE00 6.86
Forest Green (survey)
#06470C
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F420C #1F0C42
analogous
#423A0C #2F420C #14420C
triadic
#2F420C #0C2F42 #420C2F
tetradic
#2F420C #0C423A #1F0C42 #420C14
square
#2F420C #0C423A #1F0C42 #420C14
split-complementary
#2F420C #0C1442 #3A0C42
monochromatic
#121A05 #121A05 #2F420C #547615 #79AA1F
Accessibility & contrast
On white
11.02
#2F420C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2F420C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F420C
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F420C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F420C | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463D04
Deuteranopia (green-blind)
#433C11
Tritanopia (blue-blind)
#313F38
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f420c; /* rgb */ color: rgb(47, 66, 12); /* oklch */ color: oklch(35.1% 0.081 127.2);
Tailwind
colors: {
custom: {
50: '#6a764f',
500: '#2f420c',
950: '#000000',
},
}SCSS
$custom: #2f420c; $custom-light: #6a764f; $custom-dark: #000000;
JSON
{
"hex": "#2f420c",
"rgb": {
"r": 47,
"g": 66,
"b": 12
},
"hsl": {
"h": 81.111,
"s": 69.231,
"l": 15.294
},
"oklch": {
"l": 0.35065,
"c": 0.08051,
"h": 127.2
},
"luminance": 0.04527
}Semantic roles & 50–950 ramp
primary
#2F420C
secondary
#492C7E
accent
#3CEC7A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78