#2F420A#2F420A

#2F420A is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.082 H 127.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2F420A
RGBrgb(47, 66, 10)
HSLhsl(80, 74%, 15%)
HSVhsv(80, 85%, 26%)
CMYKcmyk(28.8%, 0%, 84.8%, 74.1%)
CIE-LABlab(25.33, -17.11, 29.47)
CIE-LCHlch(25.33, 34.08, 120.13°)
OKLaboklab(35.05% -0.0493 0.0654)
OKLCHoklch(35.05% 0.082 127)
XYZxyz(3.1753, 4.5226, 0.9928)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F420A #1D0A42
analogous
#42390A #2F420A #13420A
triadic
#2F420A #0A2F42 #420A2F
tetradic
#2F420A #0A4239 #1D0A42 #420A13
square
#2F420A #0A4239 #1D0A42 #420A13
split-complementary
#2F420A #0A1342 #390A42
monochromatic
#131B04 #131B04 #2F420A #557712 #7BAC1A

Accessibility & contrast

On white

11.03
#2F420A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F420A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F420A
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F420A#FFFFFF#000000##FFFFFF
##2F420A1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D02
Deuteranopia (green-blind)
#433C0F
Tritanopia (blue-blind)
#313E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f420a;
/* rgb */ color: rgb(47, 66, 10);
/* oklch */ color: oklch(35.0% 0.082 127.0);
Tailwind
colors: {
  custom: {
    50: '#6a764e',
    500: '#2f420a',
    950: '#000000',
  },
}
SCSS
$custom: #2f420a;
$custom-light: #6a764e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f420a",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 80.357,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35049,
    "c": 0.08191,
    "h": 127
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#2F420A
secondary
#46297F
accent
#37F076
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #2F420A

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

Preview Lab → · Contrast checker → · Palette generator →

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