#2F421E#2F421E

#2F421E is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.3% C 0.063 H 131.8°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2F421E
RGBrgb(47, 66, 30)
HSLhsl(92, 38%, 19%)
HSVhsv(92, 55%, 26%)
CMYKcmyk(28.8%, 0%, 54.5%, 74.1%)
CIE-LABlab(25.55, -15.07, 19.41)
CIE-LCHlch(25.55, 24.57, 127.82°)
OKLaboklab(35.3% -0.0417 0.0467)
OKLCHoklch(35.3% 0.063 131.8)
XYZxyz(3.3548, 4.5944, 1.9381)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F421E #311E42
analogous
#41421E #2F421E #1E421F
triadic
#2F421E #1E2F42 #421E2F
tetradic
#2F421E #1E4142 #311E42 #421F1E
square
#2F421E #1E4142 #311E42 #421F1E
split-complementary
#2F421E #1F1E42 #421E41
monochromatic
#0F150A #11180B #2F421E #4D6C31 #6B9644

Accessibility & contrast

On white

10.94
#2F421E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F421E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F421E
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F421E#FFFFFF#000000##FFFFFF
##2F421E1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D1B
Deuteranopia (green-blind)
#423C20
Tritanopia (blue-blind)
#303F3A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f421e;
/* rgb */ color: rgb(47, 66, 30);
/* oklch */ color: oklch(35.3% 0.063 131.8);
Tailwind
colors: {
  custom: {
    50: '#68765a',
    500: '#2f421e',
    950: '#000000',
  },
}
SCSS
$custom: #2f421e;
$custom-light: #68765a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f421e",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 30
  },
  "hsl": {
    "h": 91.667,
    "s": 37.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35296,
    "c": 0.06259,
    "h": 131.8
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

primary
#2F421E
secondary
#5F4577
accent
#5ACD97
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #2F421E

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

Preview Lab → · Contrast checker → · Palette generator →

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