#2D5419#2D5419

#2D5419 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.098 H 136.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2D5419
RGBrgb(45, 84, 25)
HSLhsl(100, 54%, 21%)
HSVhsv(100, 70%, 33%)
CMYKcmyk(46.4%, 0%, 70.2%, 67.1%)
CIE-LABlab(31.74, -25.84, 29.26)
CIE-LCHlch(31.74, 39.04, 131.45°)
OKLaboklab(40.28% -0.0716 0.0675)
OKLCHoklch(40.28% 0.098 136.7)
XYZxyz(4.4279, 6.9685, 2.0312)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5419 #401954
analogous
#4B5419 #2D5419 #195423
triadic
#2D5419 #192D54 #54192D
tetradic
#2D5419 #194B54 #401954 #542319
square
#2D5419 #194B54 #401954 #542319
split-complementary
#2D5419 #231954 #54194B
monochromatic
#0D1807 #14250B #2D5419 #468327 #60B235

Accessibility & contrast

On white

8.77
#2D5419 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D5419 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5419
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5419#FFFFFF#000000##FFFFFF
##2D54191.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D12
Deuteranopia (green-blind)
#52491E
Tritanopia (blue-blind)
#2B5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d5419;
/* rgb */ color: rgb(45, 84, 25);
/* oklch */ color: oklch(40.3% 0.098 136.7);
Tailwind
colors: {
  custom: {
    50: '#6a8459',
    500: '#2d5419',
    950: '#000000',
  },
}
SCSS
$custom: #2d5419;
$custom-light: #6a8459;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5419",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 25
  },
  "hsl": {
    "h": 99.661,
    "s": 54.128,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.09834,
    "h": 136.7
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#2D5419
secondary
#713E8A
accent
#4ADDAC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5419

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

Preview Lab → · Contrast checker → · Palette generator →

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