#2D4F19#2D4F19

#2D4F19 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.091 H 135.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2D4F19
RGBrgb(45, 79, 25)
HSLhsl(98, 52%, 20%)
HSVhsv(98, 68%, 31%)
CMYKcmyk(43%, 0%, 68.4%, 69%)
CIE-LABlab(29.96, -23.42, 27.31)
CIE-LCHlch(29.96, 35.97, 130.61°)
OKLaboklab(38.83% -0.0649 0.0633)
OKLCHoklch(38.83% 0.091 135.7)
XYZxyz(4.0535, 6.2198, 1.9065)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F19 #3B194F
analogous
#484F19 #2D4F19 #194F20
triadic
#2D4F19 #192D4F #4F192D
tetradic
#2D4F19 #19484F #3B194F #4F2019
square
#2D4F19 #19484F #3B194F #4F2019
split-complementary
#2D4F19 #20194F #4F1948
monochromatic
#0D1707 #13210A #2D4F19 #477D28 #62AC36

Accessibility & contrast

On white

9.36
#2D4F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D4F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F19
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F19#FFFFFF#000000##FFFFFF
##2D4F191.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524813
Deuteranopia (green-blind)
#4D461D
Tritanopia (blue-blind)
#2C4C44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4f19;
/* rgb */ color: rgb(45, 79, 25);
/* oklch */ color: oklch(38.8% 0.091 135.7);
Tailwind
colors: {
  custom: {
    50: '#698058',
    500: '#2d4f19',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f19;
$custom-light: #698058;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f19",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 97.778,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3883,
    "c": 0.0907,
    "h": 135.7
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#2D4F19
secondary
#6B3E85
accent
#4CDBA6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4F19

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

Preview Lab → · Contrast checker → · Palette generator →

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