#2F420D#2F420D

#2F420D is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.080 H 127.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2F420D
RGBrgb(47, 66, 13)
HSLhsl(82, 67%, 15%)
HSVhsv(82, 80%, 26%)
CMYKcmyk(28.8%, 0%, 80.3%, 74.1%)
CIE-LABlab(25.35, -16.90, 28.23)
CIE-LCHlch(25.35, 32.90, 120.90°)
OKLaboklab(35.07% -0.0484 0.0634)
OKLCHoklch(35.07% 0.08 127.4)
XYZxyz(3.1932, 4.5298, 1.0868)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F420D #200D42
analogous
#423A0D #2F420D #15420D
triadic
#2F420D #0D2F42 #420D2F
tetradic
#2F420D #0D423A #200D42 #420D15
square
#2F420D #0D423A #200D42 #420D15
split-complementary
#2F420D #0D1542 #3A0D42
monochromatic
#121A05 #121A05 #2F420D #537517 #78A821

Accessibility & contrast

On white

11.02
#2F420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2F420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F420D
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F420D#FFFFFF#000000##FFFFFF
##2F420D1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D05
Deuteranopia (green-blind)
#433C12
Tritanopia (blue-blind)
#313F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f420d;
/* rgb */ color: rgb(47, 66, 13);
/* oklch */ color: oklch(35.1% 0.080 127.4);
Tailwind
colors: {
  custom: {
    50: '#6a7650',
    500: '#2f420d',
    950: '#000000',
  },
}
SCSS
$custom: #2f420d;
$custom-light: #6a7650;
$custom-dark: #000000;
JSON
{
  "hex": "#2f420d",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 81.509,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35074,
    "c": 0.07976,
    "h": 127.4
  },
  "luminance": 0.0453
}

Semantic roles & 50–950 ramp

primary
#2F420D
secondary
#4A2D7E
accent
#3EEA7C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F420D

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

Preview Lab → · Contrast checker → · Palette generator →

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