#2D4E19#2D4E19

#2D4E19 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.089 H 135.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2D4E19
RGBrgb(45, 78, 25)
HSLhsl(97, 51%, 20%)
HSVhsv(97, 68%, 31%)
CMYKcmyk(42.3%, 0%, 67.9%, 69.4%)
CIE-LABlab(29.61, -22.92, 26.91)
CIE-LCHlch(29.61, 35.35, 130.42°)
OKLaboklab(38.54% -0.0636 0.0625)
OKLCHoklch(38.54% 0.089 135.5)
XYZxyz(3.9820, 6.0767, 1.8826)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E19 #3A194E
analogous
#484E19 #2D4E19 #194E1F
triadic
#2D4E19 #192D4E #4E192D
tetradic
#2D4E19 #19484E #3A194E #4E1F19
square
#2D4E19 #19484E #3A194E #4E1F19
split-complementary
#2D4E19 #1F194E #4E1948
monochromatic
#0D1707 #12200A #2D4E19 #487C28 #62AB37

Accessibility & contrast

On white

9.48
#2D4E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2D4E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E19
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E19#FFFFFF#000000##FFFFFF
##2D4E191.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514713
Deuteranopia (green-blind)
#4C451D
Tritanopia (blue-blind)
#2C4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e19;
/* rgb */ color: rgb(45, 78, 25);
/* oklch */ color: oklch(38.5% 0.089 135.5);
Tailwind
colors: {
  custom: {
    50: '#698058',
    500: '#2d4e19',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e19;
$custom-light: #698058;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e19",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 97.358,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38539,
    "c": 0.08915,
    "h": 135.5
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#2D4E19
secondary
#6A3E84
accent
#4DDBA5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4E19

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

Preview Lab → · Contrast checker → · Palette generator →

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