#2C400D#2C400D

#2C400D is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.079 H 128.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2C400D
RGBrgb(44, 64, 13)
HSLhsl(84, 66%, 15%)
HSVhsv(84, 80%, 25%)
CMYKcmyk(31.2%, 0%, 79.7%, 74.9%)
CIE-LABlab(24.42, -17.19, 27.23)
CIE-LCHlch(24.42, 32.20, 122.27°)
OKLaboklab(34.26% -0.049 0.0614)
OKLCHoklch(34.26% 0.079 128.6)
XYZxyz(2.9447, 4.2313, 1.0423)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C400D #210D40
analogous
#403A0D #2C400D #13400D
triadic
#2C400D #0D2C40 #400D2C
tetradic
#2C400D #0D403A #210D40 #400D13
square
#2C400D #0D403A #210D40 #400D13
split-complementary
#2C400D #0D1340 #3A0D40
monochromatic
#111905 #111905 #2C400D #4F7317 #72A622

Accessibility & contrast

On white

11.37
#2C400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C400D
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C400D#FFFFFF#000000##FFFFFF
##2C400D1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B05
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#2E3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c400d;
/* rgb */ color: rgb(44, 64, 13);
/* oklch */ color: oklch(34.3% 0.079 128.6);
Tailwind
colors: {
  custom: {
    50: '#67754f',
    500: '#2c400d',
    950: '#000000',
  },
}
SCSS
$custom: #2c400d;
$custom-light: #67754f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c400d",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 83.529,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34263,
    "c": 0.07852,
    "h": 128.6
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#2C400D
secondary
#4C2D7C
accent
#3FE982
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C400D

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

Preview Lab → · Contrast checker → · Palette generator →

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