#2D481A#2D481A

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

Color values

HEX#2D481A
RGBrgb(45, 72, 26)
HSLhsl(95, 47%, 19%)
HSVhsv(95, 64%, 28%)
CMYKcmyk(37.5%, 0%, 63.9%, 71.8%)
CIE-LABlab(27.48, -19.73, 23.98)
CIE-LCHlch(27.48, 31.05, 129.45°)
OKLaboklab(36.81% -0.0548 0.0563)
OKLCHoklch(36.81% 0.079 134.2)
XYZxyz(3.5859, 5.2671, 1.8048)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D481A #351A48
analogous
#44481A #2D481A #1A481E
triadic
#2D481A #1A2D48 #481A2D
tetradic
#2D481A #1A4448 #351A48 #481E1A
square
#2D481A #1A4448 #351A48 #481E1A
split-complementary
#2D481A #1E1A48 #481A44
monochromatic
#0E1608 #111B0A #2D481A #49752A #65A23A

Accessibility & contrast

On white

10.23
#2D481A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D481A
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D481A#FFFFFF#000000##FFFFFF
##2D481A1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d481a;
/* rgb */ color: rgb(45, 72, 26);
/* oklch */ color: oklch(36.8% 0.079 134.2);
Tailwind
colors: {
  custom: {
    50: '#687b58',
    500: '#2d481a',
    950: '#000000',
  },
}
SCSS
$custom: #2d481a;
$custom-light: #687b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d481a",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 26
  },
  "hsl": {
    "h": 95.217,
    "s": 46.939,
    "l": 19.216
  },
  "oklch": {
    "l": 0.36813,
    "c": 0.07855,
    "h": 134.2
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#2D481A
secondary
#64407E
accent
#51D79F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D481A

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

Preview Lab → · Contrast checker → · Palette generator →

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