#2D491B#2D491B

#2D491B is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.079 H 134.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2D491B
RGBrgb(45, 73, 27)
HSLhsl(97, 46%, 20%)
HSVhsv(97, 63%, 29%)
CMYKcmyk(38.4%, 0%, 63%, 71.4%)
CIE-LABlab(27.85, -20.13, 23.85)
CIE-LCHlch(27.85, 31.21, 130.16°)
OKLaboklab(37.12% -0.0558 0.0562)
OKLCHoklch(37.12% 0.079 134.8)
XYZxyz(3.6625, 5.4020, 1.8864)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D491B #371B49
analogous
#44491B #2D491B #1B4920
triadic
#2D491B #1B2D49 #491B2D
tetradic
#2D491B #1B4449 #371B49 #49201B
square
#2D491B #1B4449 #371B49 #49201B
split-complementary
#2D491B #201B49 #491B44
monochromatic
#0E1608 #111C0A #2D491B #49762C #64A23C

Accessibility & contrast

On white

10.09
#2D491B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2D491B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D491B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D491B#FFFFFF#000000##FFFFFF
##2D491B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4316
Deuteranopia (green-blind)
#48411E
Tritanopia (blue-blind)
#2D463F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d491b;
/* rgb */ color: rgb(45, 73, 27);
/* oklch */ color: oklch(37.1% 0.079 134.8);
Tailwind
colors: {
  custom: {
    50: '#687c59',
    500: '#2d491b',
    950: '#000000',
  },
}
SCSS
$custom: #2d491b;
$custom-light: #687c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d491b",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 27
  },
  "hsl": {
    "h": 96.522,
    "s": 46,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37116,
    "c": 0.07915,
    "h": 134.8
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#2D491B
secondary
#67417F
accent
#52D6A2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D491B

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

Preview Lab → · Contrast checker → · Palette generator →

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