#2C420D#2C420D

#2C420D is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.8% C 0.082 H 129.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2C420D
RGBrgb(44, 66, 13)
HSLhsl(85, 67%, 15%)
HSVhsv(85, 80%, 26%)
CMYKcmyk(33.3%, 0%, 80.3%, 74.1%)
CIE-LABlab(25.14, -18.27, 27.95)
CIE-LCHlch(25.14, 33.40, 123.17°)
OKLaboklab(34.85% -0.0519 0.0629)
OKLCHoklch(34.85% 0.082 129.6)
XYZxyz(3.0596, 4.4609, 1.0805)
Luminance0.0446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C420D #230D42
analogous
#423D0D #2C420D #11420D
triadic
#2C420D #0D2C42 #420D2C
tetradic
#2C420D #0D423D #230D42 #420D11
square
#2C420D #0D423D #230D42 #420D11
split-complementary
#2C420D #0D1142 #3D0D42
monochromatic
#111A05 #111A05 #2C420D #4E7517 #70A821

Accessibility & contrast

On white

11.10
#2C420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C420D
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C420D#FFFFFF#000000##FFFFFF
##2C420D1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D05
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#2D3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c420d;
/* rgb */ color: rgb(44, 66, 13);
/* oklch */ color: oklch(34.8% 0.082 129.6);
Tailwind
colors: {
  custom: {
    50: '#67764f',
    500: '#2c420d',
    950: '#000000',
  },
}
SCSS
$custom: #2c420d;
$custom-light: #67764f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c420d",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 84.906,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34847,
    "c": 0.08156,
    "h": 129.6
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#2C420D
secondary
#4F2D7E
accent
#3EEA85
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C420D

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

Preview Lab → · Contrast checker → · Palette generator →

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