#2C421F#2C421F

#2C421F is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.063 H 134.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2C421F
RGBrgb(44, 66, 31)
HSLhsl(98, 36%, 19%)
HSVhsv(98, 53%, 26%)
CMYKcmyk(33.3%, 0%, 53%, 74.1%)
CIE-LABlab(25.35, -16.22, 18.53)
CIE-LCHlch(25.35, 24.63, 131.21°)
OKLaboklab(35.09% -0.0447 0.0448)
OKLCHoklch(35.09% 0.063 134.9)
XYZxyz(3.2342, 4.5307, 2.0002)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C421F #351F42
analogous
#3E421F #2C421F #1F4224
triadic
#2C421F #1F2C42 #421F2C
tetradic
#2C421F #1F3E42 #351F42 #42241F
square
#2C421F #1F3E42 #351F42 #42241F
split-complementary
#2C421F #241F42 #421F3E
monochromatic
#0E150A #10180B #2C421F #486C33 #649546

Accessibility & contrast

On white

11.02
#2C421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C421F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C421F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C421F#FFFFFF#000000##FFFFFF
##2C421F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1C
Deuteranopia (green-blind)
#413B21
Tritanopia (blue-blind)
#2C403A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c421f;
/* rgb */ color: rgb(44, 66, 31);
/* oklch */ color: oklch(35.1% 0.063 134.9);
Tailwind
colors: {
  custom: {
    50: '#66765b',
    500: '#2c421f',
    950: '#000000',
  },
}
SCSS
$custom: #2c421f;
$custom-light: #66765b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c421f",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 97.714,
    "s": 36.082,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3509,
    "c": 0.06326,
    "h": 134.9
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#2C421F
secondary
#654776
accent
#5CCCA2
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #2C421F

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

Preview Lab → · Contrast checker → · Palette generator →

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