#2C4205#2C4205

#2C4205 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.087 H 128.5°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2C4205
RGBrgb(44, 66, 5)
HSLhsl(82, 86%, 14%)
HSVhsv(82, 92%, 26%)
CMYKcmyk(33.3%, 0%, 92.4%, 74.1%)
CIE-LABlab(25.08, -18.82, 31.20)
CIE-LCHlch(25.08, 36.44, 121.10°)
OKLaboklab(34.78% -0.0542 0.0682)
OKLCHoklch(34.78% 0.087 128.5)
XYZxyz(3.0143, 4.4428, 0.8423)
Luminance0.0444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4205 #1B0542
analogous
#423A05 #2C4205 #0E4205
triadic
#2C4205 #052C42 #42052C
tetradic
#2C4205 #05423A #1B0542 #42050E
square
#2C4205 #05423A #1B0542 #42050E
split-complementary
#2C4205 #050E42 #3A0542
monochromatic
#131C02 #131C02 #2C4205 #527B09 #78B40E

Accessibility & contrast

On white

11.12
#2C4205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4205
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4205#FFFFFF#000000##FFFFFF
##2C42051.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463C00
Deuteranopia (green-blind)
#433B0C
Tritanopia (blue-blind)
#2E3F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c4205;
/* rgb */ color: rgb(44, 66, 5);
/* oklch */ color: oklch(34.8% 0.087 128.5);
Tailwind
colors: {
  custom: {
    50: '#68764b',
    500: '#2c4205',
    950: '#000000',
  },
}
SCSS
$custom: #2c4205;
$custom-light: #68764b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4205",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 81.639,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34784,
    "c": 0.08711,
    "h": 128.5
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#2C4205
secondary
#442082
accent
#2CFC77
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C4205

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

Preview Lab → · Contrast checker → · Palette generator →

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