#2F420E#2F420E

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

Color values

HEX#2F420E
RGBrgb(47, 66, 14)
HSLhsl(82, 65%, 16%)
HSVhsv(82, 79%, 26%)
CMYKcmyk(28.8%, 0%, 78.8%, 74.1%)
CIE-LABlab(25.36, -16.82, 27.79)
CIE-LCHlch(25.36, 32.49, 121.19°)
OKLaboklab(35.08% -0.0481 0.0626)
OKLCHoklch(35.08% 0.079 127.5)
XYZxyz(3.1998, 4.5324, 1.1216)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F420E #210E42
analogous
#423B0E #2F420E #15420E
triadic
#2F420E #0E2F42 #420E2F
tetradic
#2F420E #0E423B #210E42 #420E15
square
#2F420E #0E423B #210E42 #420E15
split-complementary
#2F420E #0E1542 #3B0E42
monochromatic
#121905 #121905 #2F420E #537419 #77A723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F420E#FFFFFF#000000##FFFFFF
##2F420E1.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)
#463D06
Deuteranopia (green-blind)
#433C12
Tritanopia (blue-blind)
#313F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f420e;
/* rgb */ color: rgb(47, 66, 14);
/* oklch */ color: oklch(35.1% 0.079 127.5);
Tailwind
colors: {
  custom: {
    50: '#6a7650',
    500: '#2f420e',
    950: '#000000',
  },
}
SCSS
$custom: #2f420e;
$custom-light: #6a7650;
$custom-dark: #000000;
JSON
{
  "hex": "#2f420e",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 81.923,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35083,
    "c": 0.07898,
    "h": 127.5
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#2F420E
secondary
#4B2F7D
accent
#40E87D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F420E

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

Preview Lab → · Contrast checker → · Palette generator →

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