#2D420E#2D420E

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

Color values

HEX#2D420E
RGBrgb(45, 66, 14)
HSLhsl(84, 65%, 16%)
HSVhsv(84, 79%, 26%)
CMYKcmyk(31.8%, 0%, 78.8%, 74.1%)
CIE-LABlab(25.22, -17.74, 27.60)
CIE-LCHlch(25.22, 32.81, 122.73°)
OKLaboklab(34.93% -0.0505 0.0623)
OKLCHoklch(34.93% 0.08 129)
XYZxyz(3.1097, 4.4859, 1.1174)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D420E #230E42
analogous
#423D0E #2D420E #13420E
triadic
#2D420E #0E2D42 #420E2D
tetradic
#2D420E #0E423D #230E42 #420E13
square
#2D420E #0E423D #230E42 #420E13
split-complementary
#2D420E #0E1342 #3D0E42
monochromatic
#111905 #111905 #2D420E #4F7419 #72A723

Accessibility & contrast

On white

11.07
#2D420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D420E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D420E#FFFFFF#000000##FFFFFF
##2D420E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D06
Deuteranopia (green-blind)
#433B13
Tritanopia (blue-blind)
#2F3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d420e;
/* rgb */ color: rgb(45, 66, 14);
/* oklch */ color: oklch(34.9% 0.080 129.0);
Tailwind
colors: {
  custom: {
    50: '#687650',
    500: '#2d420e',
    950: '#000000',
  },
}
SCSS
$custom: #2d420e;
$custom-light: #687650;
$custom-dark: #000000;
JSON
{
  "hex": "#2d420e",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 84.231,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34931,
    "c": 0.08018,
    "h": 129
  },
  "luminance": 0.04486
}

Semantic roles & 50–950 ramp

primary
#2D420E
secondary
#4E2F7D
accent
#40E884
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D420E

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

Preview Lab → · Contrast checker → · Palette generator →

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