#2C4809#2C4809

#2C4809 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.093 H 131.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2C4809
RGBrgb(44, 72, 9)
HSLhsl(87, 78%, 16%)
HSVhsv(87, 88%, 28%)
CMYKcmyk(38.9%, 0%, 87.5%, 71.8%)
CIE-LABlab(27.27, -21.67, 31.62)
CIE-LCHlch(27.27, 38.33, 124.43°)
OKLaboklab(36.57% -0.0615 0.0698)
OKLCHoklch(36.57% 0.093 131.4)
XYZxyz(3.4053, 5.1898, 1.0807)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4809 #250948
analogous
#484409 #2C4809 #0C4809
triadic
#2C4809 #092C48 #48092C
tetradic
#2C4809 #094844 #250948 #48090C
square
#2C4809 #094844 #250948 #48090C
split-complementary
#2C4809 #090C48 #440948
monochromatic
#111B03 #111B03 #2C4809 #4D7E10 #6EB517

Accessibility & contrast

On white

10.30
#2C4809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C4809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4809
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4809#FFFFFF#000000##FFFFFF
##2C48091.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#484010
Tritanopia (blue-blind)
#2D453C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c4809;
/* rgb */ color: rgb(44, 72, 9);
/* oklch */ color: oklch(36.6% 0.093 131.4);
Tailwind
colors: {
  custom: {
    50: '#687b4e',
    500: '#2c4809',
    950: '#000000',
  },
}
SCSS
$custom: #2c4809;
$custom-light: #687b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4809",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 9
  },
  "hsl": {
    "h": 86.667,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36573,
    "c": 0.09306,
    "h": 131.4
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#2C4809
secondary
#512785
accent
#34F489
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4809

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

Preview Lab → · Contrast checker → · Palette generator →

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