#2C401C#2C401C

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

Color values

HEX#2C401C
RGBrgb(44, 64, 28)
HSLhsl(93, 39%, 18%)
HSVhsv(93, 56%, 25%)
CMYKcmyk(31.2%, 0%, 56.2%, 74.9%)
CIE-LABlab(24.60, -15.54, 19.39)
CIE-LCHlch(24.60, 24.85, 128.72°)
OKLaboklab(34.46% -0.043 0.0465)
OKLCHoklch(34.46% 0.063 132.7)
XYZxyz(3.0816, 4.2860, 1.7633)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C401C #301C40
analogous
#3E401C #2C401C #1C401E
triadic
#2C401C #1C2C40 #401C2C
tetradic
#2C401C #1C3E40 #301C40 #401E1C
square
#2C401C #1C3E40 #301C40 #401E1C
split-complementary
#2C401C #1E1C40 #401C3E
monochromatic
#0F1509 #0F1509 #2C401C #496B2F #679541

Accessibility & contrast

On white

11.31
#2C401C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C401C
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C401C#FFFFFF#000000##FFFFFF
##2C401C1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B19
Deuteranopia (green-blind)
#403A1E
Tritanopia (blue-blind)
#2C3E38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c401c;
/* rgb */ color: rgb(44, 64, 28);
/* oklch */ color: oklch(34.5% 0.063 132.7);
Tailwind
colors: {
  custom: {
    50: '#667559',
    500: '#2c401c',
    950: '#000000',
  },
}
SCSS
$custom: #2c401c;
$custom-light: #667559;
$custom-dark: #000000;
JSON
{
  "hex": "#2c401c",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 93.333,
    "s": 39.13,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3446,
    "c": 0.06333,
    "h": 132.7
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#2C401C
secondary
#5F4375
accent
#59CF9A
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2C401C

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

Preview Lab → · Contrast checker → · Palette generator →

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