#2C421D#2C421D

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

Color values

HEX#2C421D
RGBrgb(44, 66, 29)
HSLhsl(96, 39%, 19%)
HSVhsv(96, 56%, 26%)
CMYKcmyk(33.3%, 0%, 56.1%, 74.1%)
CIE-LABlab(25.32, -16.52, 19.69)
CIE-LCHlch(25.32, 25.70, 130.00°)
OKLaboklab(35.05% -0.0456 0.0472)
OKLCHoklch(35.05% 0.066 134)
XYZxyz(3.2086, 4.5205, 1.8656)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C421D #331D42
analogous
#3E421D #2C421D #1D4220
triadic
#2C421D #1D2C42 #421D2C
tetradic
#2C421D #1D3E42 #331D42 #42201D
square
#2C421D #1D3E42 #331D42 #42201D
split-complementary
#2C421D #201D42 #421D3E
monochromatic
#0E1509 #10170A #2C421D #486D30 #659742

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C421D#FFFFFF#000000##FFFFFF
##2C421D1.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)
#453D1A
Deuteranopia (green-blind)
#413B1F
Tritanopia (blue-blind)
#2C4039
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c421d;
/* rgb */ color: rgb(44, 66, 29);
/* oklch */ color: oklch(35.1% 0.066 134.0);
Tailwind
colors: {
  custom: {
    50: '#66765a',
    500: '#2c421d',
    950: '#000000',
  },
}
SCSS
$custom: #2c421d;
$custom-light: #66765a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c421d",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 29
  },
  "hsl": {
    "h": 95.676,
    "s": 38.947,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35054,
    "c": 0.06566,
    "h": 134
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#2C421D
secondary
#624477
accent
#59CF9F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2C421D

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

Preview Lab → · Contrast checker → · Palette generator →

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