#2D480F#2D480F

#2D480F is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.7% C 0.088 H 131.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2D480F
RGBrgb(45, 72, 15)
HSLhsl(88, 66%, 17%)
HSVhsv(88, 79%, 28%)
CMYKcmyk(37.5%, 0%, 79.2%, 71.8%)
CIE-LABlab(27.37, -20.83, 29.34)
CIE-LCHlch(27.37, 35.98, 125.37°)
OKLaboklab(36.69% -0.0588 0.0661)
OKLCHoklch(36.69% 0.088 131.7)
XYZxyz(3.4857, 5.2270, 1.2771)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D480F #2A0F48
analogous
#48470F #2D480F #11480F
triadic
#2D480F #0F2D48 #480F2D
tetradic
#2D480F #0F4847 #2A0F48 #480F11
square
#2D480F #0F4847 #2A0F48 #480F11
split-complementary
#2D480F #0F1148 #470F48
monochromatic
#101905 #101905 #2D480F #4D7B1A #6CAD24

Accessibility & contrast

On white

10.27
#2D480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D480F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D480F#FFFFFF#000000##FFFFFF
##2D480F1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4206
Deuteranopia (green-blind)
#484014
Tritanopia (blue-blind)
#2E453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d480f;
/* rgb */ color: rgb(45, 72, 15);
/* oklch */ color: oklch(36.7% 0.088 131.7);
Tailwind
colors: {
  custom: {
    50: '#697b51',
    500: '#2d480f',
    950: '#000000',
  },
}
SCSS
$custom: #2d480f;
$custom-light: #697b51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d480f",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 88.421,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36687,
    "c": 0.08846,
    "h": 131.7
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#2D480F
secondary
#573082
accent
#3FE88F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D480F

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

Preview Lab → · Contrast checker → · Palette generator →

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