#2D481E#2D481E

#2D481E is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.074 H 135.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2D481E
RGBrgb(45, 72, 30)
HSLhsl(99, 41%, 20%)
HSVhsv(99, 58%, 28%)
CMYKcmyk(37.5%, 0%, 58.3%, 71.8%)
CIE-LABlab(27.54, -19.21, 21.79)
CIE-LCHlch(27.54, 29.05, 131.40°)
OKLaboklab(36.87% -0.053 0.052)
OKLCHoklch(36.87% 0.074 135.6)
XYZxyz(3.6338, 5.2862, 2.0569)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D481E #391E48
analogous
#42481E #2D481E #1E4824
triadic
#2D481E #1E2D48 #481E2D
tetradic
#2D481E #1E4248 #391E48 #48241E
square
#2D481E #1E4248 #391E48 #48241E
split-complementary
#2D481E #241E48 #481E42
monochromatic
#0E1609 #121D0C #2D481E #487330 #639E42

Accessibility & contrast

On white

10.21
#2D481E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D481E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D481E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D481E#FFFFFF#000000##FFFFFF
##2D481E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B421A
Deuteranopia (green-blind)
#474021
Tritanopia (blue-blind)
#2C453E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d481e;
/* rgb */ color: rgb(45, 72, 30);
/* oklch */ color: oklch(36.9% 0.074 135.6);
Tailwind
colors: {
  custom: {
    50: '#687b5b',
    500: '#2d481e',
    950: '#000000',
  },
}
SCSS
$custom: #2d481e;
$custom-light: #687b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d481e",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 30
  },
  "hsl": {
    "h": 98.571,
    "s": 41.176,
    "l": 20
  },
  "oklch": {
    "l": 0.36873,
    "c": 0.07424,
    "h": 135.6
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#2D481E
secondary
#69457D
accent
#57D1A5
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2D481E

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

Preview Lab → · Contrast checker → · Palette generator →

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