#2D4C09#2D4C09

#2D4C09 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.098 H 132.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2D4C09
RGBrgb(45, 76, 9)
HSLhsl(88, 79%, 17%)
HSVhsv(88, 88%, 30%)
CMYKcmyk(40.8%, 0%, 88.2%, 70.2%)
CIE-LABlab(28.76, -23.25, 33.02)
CIE-LCHlch(28.76, 40.38, 125.14°)
OKLaboklab(37.81% -0.0658 0.0728)
OKLCHoklch(37.81% 0.098 132.1)
XYZxyz(3.7159, 5.7463, 1.1718)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C09 #28094C
analogous
#4C4A09 #2D4C09 #0C4C09
triadic
#2D4C09 #092D4C #4C092D
tetradic
#2D4C09 #094C4A #28094C #4C090C
square
#2D4C09 #094C4A #28094C #4C090C
split-complementary
#2D4C09 #090C4C #4A094C
monochromatic
#101B03 #101B03 #2D4C09 #4D830F #6EB916

Accessibility & contrast

On white

9.77
#2D4C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D4C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C09
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C09#FFFFFF#000000##FFFFFF
##2D4C091.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504500
Deuteranopia (green-blind)
#4B4311
Tritanopia (blue-blind)
#2E4840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4c09;
/* rgb */ color: rgb(45, 76, 9);
/* oklch */ color: oklch(37.8% 0.098 132.1);
Tailwind
colors: {
  custom: {
    50: '#697e4f',
    500: '#2d4c09',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c09;
$custom-light: #697e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c09",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 9
  },
  "hsl": {
    "h": 87.761,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37811,
    "c": 0.09811,
    "h": 132.1
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#2D4C09
secondary
#552889
accent
#33F58D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2D4C09

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

Preview Lab → · Contrast checker → · Palette generator →

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