#2D481B#2D481B

#2D481B is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.077 H 134.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2D481B
RGBrgb(45, 72, 27)
HSLhsl(96, 45%, 19%)
HSVhsv(96, 63%, 28%)
CMYKcmyk(37.5%, 0%, 62.5%, 71.8%)
CIE-LABlab(27.49, -19.60, 23.44)
CIE-LCHlch(27.49, 30.56, 129.91°)
OKLaboklab(36.83% -0.0543 0.0553)
OKLCHoklch(36.83% 0.078 134.5)
XYZxyz(3.5973, 5.2716, 1.8647)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D481B #361B48
analogous
#44481B #2D481B #1B4820
triadic
#2D481B #1B2D48 #481B2D
tetradic
#2D481B #1B4448 #361B48 #48201B
square
#2D481B #1B4448 #361B48 #48201B
split-complementary
#2D481B #201B48 #481B44
monochromatic
#0E1608 #111B0A #2D481B #49752C #65A13C

Accessibility & contrast

On white

10.22
#2D481B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D481B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D481B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D481B#FFFFFF#000000##FFFFFF
##2D481B1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4217
Deuteranopia (green-blind)
#47401E
Tritanopia (blue-blind)
#2D453E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d481b;
/* rgb */ color: rgb(45, 72, 27);
/* oklch */ color: oklch(36.8% 0.077 134.5);
Tailwind
colors: {
  custom: {
    50: '#687b59',
    500: '#2d481b',
    950: '#000000',
  },
}
SCSS
$custom: #2d481b;
$custom-light: #687b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d481b",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 27
  },
  "hsl": {
    "h": 96,
    "s": 45.455,
    "l": 19.412
  },
  "oklch": {
    "l": 0.36827,
    "c": 0.0775,
    "h": 134.5
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

primary
#2D481B
secondary
#65417E
accent
#53D5A1
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D481B

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

Preview Lab → · Contrast checker → · Palette generator →

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