#2D450A#2D450A

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

Color values

HEX#2D450A
RGBrgb(45, 69, 10)
HSLhsl(84, 75%, 15%)
HSVhsv(84, 86%, 27%)
CMYKcmyk(34.8%, 0%, 85.5%, 72.9%)
CIE-LABlab(26.26, -19.63, 30.32)
CIE-LCHlch(26.26, 36.11, 122.92°)
OKLaboklab(35.77% -0.056 0.0673)
OKLCHoklch(35.77% 0.087 129.8)
XYZxyz(3.2651, 4.8359, 1.0485)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D450A #220A45
analogous
#453F0A #2D450A #0F450A
triadic
#2D450A #0A2D45 #450A2D
tetradic
#2D450A #0A453F #220A45 #450A0F
square
#2D450A #0A453F #220A45 #450A0F
split-complementary
#2D450A #0A0F45 #3F0A45
monochromatic
#111B04 #111B04 #2D450A #507A12 #73B019

Accessibility & contrast

On white

10.68
#2D450A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D450A
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D450A#FFFFFF#000000##FFFFFF
##2D450A1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F01
Deuteranopia (green-blind)
#453E10
Tritanopia (blue-blind)
#2E423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d450a;
/* rgb */ color: rgb(45, 69, 10);
/* oklch */ color: oklch(35.8% 0.087 129.8);
Tailwind
colors: {
  custom: {
    50: '#69794e',
    500: '#2d450a',
    950: '#000000',
  },
}
SCSS
$custom: #2d450a;
$custom-light: #69794e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d450a",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 10
  },
  "hsl": {
    "h": 84.407,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35772,
    "c": 0.08749,
    "h": 129.8
  },
  "luminance": 0.04836
}

Semantic roles & 50–950 ramp

primary
#2D450A
secondary
#4D2982
accent
#36F182
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D450A

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

Preview Lab → · Contrast checker → · Palette generator →

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