#2D5219#2D5219

#2D5219 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.7% C 0.095 H 136.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2D5219
RGBrgb(45, 82, 25)
HSLhsl(99, 53%, 21%)
HSVhsv(99, 70%, 32%)
CMYKcmyk(45.1%, 0%, 69.5%, 67.8%)
CIE-LABlab(31.03, -24.88, 28.48)
CIE-LCHlch(31.03, 37.82, 131.14°)
OKLaboklab(39.7% -0.0689 0.0658)
OKLCHoklch(39.7% 0.095 136.3)
XYZxyz(4.2748, 6.6624, 1.9802)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5219 #3E1952
analogous
#495219 #2D5219 #195221
triadic
#2D5219 #192D52 #52192D
tetradic
#2D5219 #194952 #3E1952 #522119
square
#2D5219 #194952 #3E1952 #522119
split-complementary
#2D5219 #211952 #521949
monochromatic
#0D1707 #13230B #2D5219 #478127 #60B036

Accessibility & contrast

On white

9.00
#2D5219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D5219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5219
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5219#FFFFFF#000000##FFFFFF
##2D52191.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B12
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#2C4F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d5219;
/* rgb */ color: rgb(45, 82, 25);
/* oklch */ color: oklch(39.7% 0.095 136.3);
Tailwind
colors: {
  custom: {
    50: '#698359',
    500: '#2d5219',
    950: '#000000',
  },
}
SCSS
$custom: #2d5219;
$custom-light: #698359;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5219",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 98.947,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39701,
    "c": 0.09532,
    "h": 136.3
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#2D5219
secondary
#6E3E88
accent
#4BDDAA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D5219

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

Preview Lab → · Contrast checker → · Palette generator →

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