#2F401D#2F401D

#2F401D is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.060 H 130.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2F401D
RGBrgb(47, 64, 29)
HSLhsl(89, 38%, 18%)
HSVhsv(89, 55%, 25%)
CMYKcmyk(26.6%, 0%, 54.7%, 74.9%)
CIE-LABlab(24.83, -14.07, 19.13)
CIE-LCHlch(24.83, 23.74, 126.33°)
OKLaboklab(34.71% -0.039 0.046)
OKLCHoklch(34.71% 0.06 130.3)
XYZxyz(3.2274, 4.3598, 1.8336)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F401D #2E1D40
analogous
#403F1D #2F401D #1D401D
triadic
#2F401D #1D2F40 #401D2F
tetradic
#2F401D #1D403F #2E1D40 #401D1D
square
#2F401D #1D403F #2E1D40 #401D1D
split-complementary
#2F401D #1D1D40 #3F1D40
monochromatic
#0F150A #10160A #2F401D #4E6A30 #6D9443

Accessibility & contrast

On white

11.22
#2F401D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F401D
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F401D#FFFFFF#000000##FFFFFF
##2F401D1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f401d;
/* rgb */ color: rgb(47, 64, 29);
/* oklch */ color: oklch(34.7% 0.060 130.3);
Tailwind
colors: {
  custom: {
    50: '#68755a',
    500: '#2f401d',
    950: '#000000',
  },
}
SCSS
$custom: #2f401d;
$custom-light: #68755a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f401d",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 29
  },
  "hsl": {
    "h": 89.143,
    "s": 37.634,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34709,
    "c": 0.06028,
    "h": 130.3
  },
  "luminance": 0.0436
}

Semantic roles & 50–950 ramp

primary
#2F401D
secondary
#5C4475
accent
#5ACE92
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2F401D

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

Preview Lab → · Contrast checker → · Palette generator →

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