#2D4E09#2D4E09

#2D4E09 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.101 H 132.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2D4E09
RGBrgb(45, 78, 9)
HSLhsl(89, 79%, 17%)
HSVhsv(89, 88%, 31%)
CMYKcmyk(42.3%, 0%, 88.5%, 69.4%)
CIE-LABlab(29.48, -24.23, 33.68)
CIE-LCHlch(29.48, 41.49, 125.73°)
OKLaboklab(38.4% -0.0685 0.0741)
OKLCHoklch(38.4% 0.101 132.7)
XYZxyz(3.8558, 6.0262, 1.2184)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E09 #2A094E
analogous
#4E4D09 #2D4E09 #0A4E09
triadic
#2D4E09 #092D4E #4E092D
tetradic
#2D4E09 #094E4D #2A094E #4E090A
square
#2D4E09 #094E4D #2A094E #4E090A
split-complementary
#2D4E09 #090A4E #4D094E
monochromatic
#101B03 #101B03 #2D4E09 #4D850F #6CBC16

Accessibility & contrast

On white

9.52
#2D4E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2D4E09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E09
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E09#FFFFFF#000000##FFFFFF
##2D4E091.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4D4511
Tritanopia (blue-blind)
#2D4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4e09;
/* rgb */ color: rgb(45, 78, 9);
/* oklch */ color: oklch(38.4% 0.101 132.7);
Tailwind
colors: {
  custom: {
    50: '#6a8050',
    500: '#2d4e09',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e09;
$custom-light: #6a8050;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e09",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 9
  },
  "hsl": {
    "h": 88.696,
    "s": 79.31,
    "l": 17.059
  },
  "oklch": {
    "l": 0.38395,
    "c": 0.10091,
    "h": 132.7
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#2D4E09
secondary
#57288B
accent
#32F690
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2D4E09

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

Preview Lab → · Contrast checker → · Palette generator →

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