#2C401D#2C401D

#2C401D is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.062 H 133.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2C401D
RGBrgb(44, 64, 29)
HSLhsl(94, 38%, 18%)
HSVhsv(94, 55%, 25%)
CMYKcmyk(31.2%, 0%, 54.7%, 74.9%)
CIE-LABlab(24.61, -15.40, 18.81)
CIE-LCHlch(24.61, 24.31, 129.31°)
OKLaboklab(34.48% -0.0425 0.0453)
OKLCHoklch(34.48% 0.062 133.2)
XYZxyz(3.0938, 4.2909, 1.8274)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C401D #311D40
analogous
#3D401D #2C401D #1D401F
triadic
#2C401D #1D2C40 #401D2C
tetradic
#2C401D #1D3D40 #311D40 #401F1D
square
#2C401D #1D3D40 #311D40 #401F1D
split-complementary
#2C401D #1F1D40 #401D3D
monochromatic
#0E150A #0F160A #2C401D #496A30 #669443

Accessibility & contrast

On white

11.30
#2C401D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C401D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C401D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C401D#FFFFFF#000000##FFFFFF
##2C401D1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1A
Deuteranopia (green-blind)
#403A1F
Tritanopia (blue-blind)
#2C3E38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c401d;
/* rgb */ color: rgb(44, 64, 29);
/* oklch */ color: oklch(34.5% 0.062 133.2);
Tailwind
colors: {
  custom: {
    50: '#66755a',
    500: '#2c401d',
    950: '#000000',
  },
}
SCSS
$custom: #2c401d;
$custom-light: #66755a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c401d",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 29
  },
  "hsl": {
    "h": 94.286,
    "s": 37.634,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34478,
    "c": 0.06213,
    "h": 133.2
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#2C401D
secondary
#604475
accent
#5ACE9C
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2C401D

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

Preview Lab → · Contrast checker → · Palette generator →

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