#2D481F#2D481F

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

Color values

HEX#2D481F
RGBrgb(45, 72, 31)
HSLhsl(100, 40%, 20%)
HSVhsv(100, 57%, 28%)
CMYKcmyk(37.5%, 0%, 56.9%, 71.8%)
CIE-LABlab(27.55, -19.07, 21.24)
CIE-LCHlch(27.55, 28.54, 131.93°)
OKLaboklab(36.89% -0.0526 0.0508)
OKLCHoklch(36.89% 0.073 136)
XYZxyz(3.6468, 5.2914, 2.1253)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D481F #3A1F48
analogous
#41481F #2D481F #1F4825
triadic
#2D481F #1F2D48 #481F2D
tetradic
#2D481F #1F4148 #3A1F48 #48251F
square
#2D481F #1F4148 #3A1F48 #48251F
split-complementary
#2D481F #251F48 #481F41
monochromatic
#0D1509 #121D0D #2D481F #487331 #629E44

Accessibility & contrast

On white

10.20
#2D481F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D481F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D481F#FFFFFF#000000##FFFFFF
##2D481F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A431B
Deuteranopia (green-blind)
#474022
Tritanopia (blue-blind)
#2C453F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d481f;
/* rgb */ color: rgb(45, 72, 31);
/* oklch */ color: oklch(36.9% 0.073 136.0);
Tailwind
colors: {
  custom: {
    50: '#687b5c',
    500: '#2d481f',
    950: '#000000',
  },
}
SCSS
$custom: #2d481f;
$custom-light: #687b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d481f",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 99.512,
    "s": 39.806,
    "l": 20.196
  },
  "oklch": {
    "l": 0.36889,
    "c": 0.07311,
    "h": 136
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#2D481F
secondary
#6A467D
accent
#58D0A7
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2D481F

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

Preview Lab → · Contrast checker → · Palette generator →

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