#2F401E#2F401E

#2F401E is a dark, muted yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.059 H 130.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2F401E
RGBrgb(47, 64, 30)
HSLhsl(90, 36%, 18%)
HSVhsv(90, 53%, 25%)
CMYKcmyk(26.6%, 0%, 53.1%, 74.9%)
CIE-LABlab(24.84, -13.92, 18.54)
CIE-LCHlch(24.84, 23.19, 126.90°)
OKLaboklab(34.73% -0.0385 0.0448)
OKLCHoklch(34.73% 0.059 130.7)
XYZxyz(3.2400, 4.3648, 1.8998)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F401E #2F1E40
analogous
#40401E #2F401E #1E401E
triadic
#2F401E #1E2F40 #401E2F
tetradic
#2F401E #1E4040 #2F1E40 #401E1E
square
#2F401E #1E4040 #2F1E40 #401E1E
split-complementary
#2F401E #1E1E40 #401E40
monochromatic
#0F150A #10160A #2F401E #4E6A32 #6C9345

Accessibility & contrast

On white

11.21
#2F401E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2F401E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F401E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F401E#FFFFFF#000000##FFFFFF
##2F401E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1B
Deuteranopia (green-blind)
#403B20
Tritanopia (blue-blind)
#303D38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f401e;
/* rgb */ color: rgb(47, 64, 30);
/* oklch */ color: oklch(34.7% 0.059 130.7);
Tailwind
colors: {
  custom: {
    50: '#68755a',
    500: '#2f401e',
    950: '#000000',
  },
}
SCSS
$custom: #2f401e;
$custom-light: #68755a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f401e",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 30
  },
  "hsl": {
    "h": 90,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.34727,
    "c": 0.05904,
    "h": 130.7
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#2F401E
secondary
#5D4574
accent
#5CCC94
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #2F401E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F401E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva