#2C421A#2C421A

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

Color values

HEX#2C421A
RGBrgb(44, 66, 26)
HSLhsl(93, 43%, 18%)
HSVhsv(93, 61%, 26%)
CMYKcmyk(33.3%, 0%, 60.6%, 74.1%)
CIE-LABlab(25.28, -16.93, 21.38)
CIE-LCHlch(25.28, 27.27, 128.37°)
OKLaboklab(35% -0.047 0.0507)
OKLCHoklch(35% 0.069 132.8)
XYZxyz(3.1733, 4.5064, 1.6797)
Luminance0.0451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C421A #301A42
analogous
#40421A #2C421A #1A421C
triadic
#2C421A #1A2C42 #421A2C
tetradic
#2C421A #1A4042 #301A42 #421C1A
square
#2C421A #1A4042 #301A42 #421C1A
split-complementary
#2C421A #1C1A42 #421A40
monochromatic
#0F1609 #0F1609 #2C421A #496E2B #679A3D

Accessibility & contrast

On white

11.05
#2C421A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C421A
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C421A#FFFFFF#000000##FFFFFF
##2C421A1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D16
Deuteranopia (green-blind)
#423B1D
Tritanopia (blue-blind)
#2C3F39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c421a;
/* rgb */ color: rgb(44, 66, 26);
/* oklch */ color: oklch(35.0% 0.069 132.8);
Tailwind
colors: {
  custom: {
    50: '#677658',
    500: '#2c421a',
    950: '#000000',
  },
}
SCSS
$custom: #2c421a;
$custom-light: #677658;
$custom-dark: #000000;
JSON
{
  "hex": "#2c421a",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 26
  },
  "hsl": {
    "h": 93,
    "s": 43.478,
    "l": 18.039
  },
  "oklch": {
    "l": 0.35005,
    "c": 0.06913,
    "h": 132.8
  },
  "luminance": 0.04506
}

Semantic roles & 50–950 ramp

primary
#2C421A
secondary
#5F4078
accent
#55D39A
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2C421A

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

Preview Lab → · Contrast checker → · Palette generator →

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