#2D480C#2D480C

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

Color values

HEX#2D480C
RGBrgb(45, 72, 12)
HSLhsl(87, 71%, 16%)
HSVhsv(87, 83%, 28%)
CMYKcmyk(37.5%, 0%, 83.3%, 71.8%)
CIE-LABlab(27.35, -21.05, 30.58)
CIE-LCHlch(27.35, 37.12, 124.54°)
OKLaboklab(36.66% -0.0597 0.0682)
OKLCHoklch(36.66% 0.091 131.2)
XYZxyz(3.4659, 5.2190, 1.1725)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D480C #270C48
analogous
#48450C #2D480C #0F480C
triadic
#2D480C #0C2D48 #480C2D
tetradic
#2D480C #0C4845 #270C48 #480C0F
square
#2D480C #0C4845 #270C48 #480C0F
split-complementary
#2D480C #0C0F48 #450C48
monochromatic
#101A04 #101A04 #2D480C #4E7C15 #6FB11D

Accessibility & contrast

On white

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

On black

2.04
#2D480C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D480C#FFFFFF#000000##FFFFFF
##2D480C1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d480c;
/* rgb */ color: rgb(45, 72, 12);
/* oklch */ color: oklch(36.7% 0.091 131.2);
Tailwind
colors: {
  custom: {
    50: '#697b50',
    500: '#2d480c',
    950: '#000000',
  },
}
SCSS
$custom: #2d480c;
$custom-light: #697b50;
$custom-dark: #000000;
JSON
{
  "hex": "#2d480c",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 12
  },
  "hsl": {
    "h": 87,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36662,
    "c": 0.09058,
    "h": 131.2
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#2D480C
secondary
#542C84
accent
#3AEE8B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D480C

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

Preview Lab → · Contrast checker → · Palette generator →

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