#2C420B#2C420B

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

Color values

HEX#2C420B
RGBrgb(44, 66, 11)
HSLhsl(84, 71%, 15%)
HSVhsv(84, 83%, 26%)
CMYKcmyk(33.3%, 0%, 83.3%, 74.1%)
CIE-LABlab(25.13, -18.42, 28.80)
CIE-LCHlch(25.13, 34.19, 122.61°)
OKLaboklab(34.83% -0.0525 0.0643)
OKLCHoklch(34.83% 0.083 129.3)
XYZxyz(3.0473, 4.4560, 1.0161)
Luminance0.0446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C420B #210B42
analogous
#423C0B #2C420B #10420B
triadic
#2C420B #0B2C42 #420B2C
tetradic
#2C420B #0B423C #210B42 #420B10
square
#2C420B #0B423C #210B42 #420B10
split-complementary
#2C420B #0B1042 #3C0B42
monochromatic
#111A04 #111A04 #2C420B #4F7614 #72AB1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C420B#FFFFFF#000000##FFFFFF
##2C420B1.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)
#463D03
Deuteranopia (green-blind)
#433B10
Tritanopia (blue-blind)
#2E3F37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c420b;
/* rgb */ color: rgb(44, 66, 11);
/* oklch */ color: oklch(34.8% 0.083 129.3);
Tailwind
colors: {
  custom: {
    50: '#68764e',
    500: '#2c420b',
    950: '#000000',
  },
}
SCSS
$custom: #2c420b;
$custom-light: #68764e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c420b",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 84,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.3483,
    "c": 0.08302,
    "h": 129.3
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#2C420B
secondary
#4C2A7F
accent
#3AEE82
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C420B

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

Preview Lab → · Contrast checker → · Palette generator →

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