#2D450F#2D450F

#2D450F is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.084 H 130.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2D450F
RGBrgb(45, 69, 15)
HSLhsl(87, 64%, 16%)
HSVhsv(87, 78%, 27%)
CMYKcmyk(34.8%, 0%, 78.3%, 72.9%)
CIE-LABlab(26.30, -19.26, 28.25)
CIE-LCHlch(26.30, 34.19, 124.29°)
OKLaboklab(35.81% -0.0545 0.0638)
OKLCHoklch(35.81% 0.084 130.5)
XYZxyz(3.2965, 4.8485, 1.2140)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D450F #270F45
analogous
#45420F #2D450F #12450F
triadic
#2D450F #0F2D45 #450F2D
tetradic
#2D450F #0F4542 #270F45 #450F12
square
#2D450F #0F4542 #270F45 #450F12
split-complementary
#2D450F #0F1245 #420F45
monochromatic
#101905 #101905 #2D450F #4E771A #6FAA25

Accessibility & contrast

On white

10.66
#2D450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D450F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D450F#FFFFFF#000000##FFFFFF
##2D450F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F07
Deuteranopia (green-blind)
#453E14
Tritanopia (blue-blind)
#2E423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d450f;
/* rgb */ color: rgb(45, 69, 15);
/* oklch */ color: oklch(35.8% 0.084 130.5);
Tailwind
colors: {
  custom: {
    50: '#687951',
    500: '#2d450f',
    950: '#000000',
  },
}
SCSS
$custom: #2d450f;
$custom-light: #687951;
$custom-dark: #000000;
JSON
{
  "hex": "#2d450f",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 86.667,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35813,
    "c": 0.08394,
    "h": 130.5
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#2D450F
secondary
#54307F
accent
#41E78B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D450F

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

Preview Lab → · Contrast checker → · Palette generator →

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