#2C421B#2C421B

#2C421B is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.068 H 133.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2C421B
RGBrgb(44, 66, 27)
HSLhsl(94, 42%, 18%)
HSVhsv(94, 59%, 26%)
CMYKcmyk(33.3%, 0%, 59.1%, 74.1%)
CIE-LABlab(25.29, -16.79, 20.82)
CIE-LCHlch(25.29, 26.75, 128.89°)
OKLaboklab(35.02% -0.0465 0.0496)
OKLCHoklch(35.02% 0.068 133.2)
XYZxyz(3.1847, 4.5109, 1.7396)
Luminance0.0451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C421B #311B42
analogous
#3F421B #2C421B #1B421D
triadic
#2C421B #1B2C42 #421B2C
tetradic
#2C421B #1B3F42 #311B42 #421D1B
square
#2C421B #1B3F42 #311B42 #421D1B
split-complementary
#2C421B #1D1B42 #421B3F
monochromatic
#0E1609 #0F1709 #2C421B #496D2D #66993F

Accessibility & contrast

On white

11.04
#2C421B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C421B
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C421B#FFFFFF#000000##FFFFFF
##2C421B1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D17
Deuteranopia (green-blind)
#413B1E
Tritanopia (blue-blind)
#2C3F39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c421b;
/* rgb */ color: rgb(44, 66, 27);
/* oklch */ color: oklch(35.0% 0.068 133.2);
Tailwind
colors: {
  custom: {
    50: '#667658',
    500: '#2c421b',
    950: '#000000',
  },
}
SCSS
$custom: #2c421b;
$custom-light: #667658;
$custom-dark: #000000;
JSON
{
  "hex": "#2c421b",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 93.846,
    "s": 41.935,
    "l": 18.235
  },
  "oklch": {
    "l": 0.35021,
    "c": 0.068,
    "h": 133.2
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#2C421B
secondary
#604178
accent
#56D29C
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2C421B

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

Preview Lab → · Contrast checker → · Palette generator →

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