#2D450B#2D450B

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

Color values

HEX#2D450B
RGBrgb(45, 69, 11)
HSLhsl(85, 73%, 16%)
HSVhsv(85, 84%, 27%)
CMYKcmyk(34.8%, 0%, 84.1%, 72.9%)
CIE-LABlab(26.27, -19.56, 29.93)
CIE-LCHlch(26.27, 35.76, 123.17°)
OKLaboklab(35.78% -0.0557 0.0666)
OKLCHoklch(35.78% 0.087 129.9)
XYZxyz(3.2707, 4.8382, 1.0781)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D450B #230B45
analogous
#45400B #2D450B #10450B
triadic
#2D450B #0B2D45 #450B2D
tetradic
#2D450B #0B4540 #230B45 #450B10
square
#2D450B #0B4540 #230B45 #450B10
split-complementary
#2D450B #0B1045 #400B45
monochromatic
#111A04 #111A04 #2D450B #4F7A13 #72AF1C

Accessibility & contrast

On white

10.67
#2D450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D450B
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D450B#FFFFFF#000000##FFFFFF
##2D450B1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d450b;
/* rgb */ color: rgb(45, 69, 11);
/* oklch */ color: oklch(35.8% 0.087 129.9);
Tailwind
colors: {
  custom: {
    50: '#69794f',
    500: '#2d450b',
    950: '#000000',
  },
}
SCSS
$custom: #2d450b;
$custom-light: #69794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d450b",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 84.828,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35779,
    "c": 0.08685,
    "h": 129.9
  },
  "luminance": 0.04838
}

Semantic roles & 50–950 ramp

primary
#2D450B
secondary
#4E2A81
accent
#39EF84
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D450B

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

Preview Lab → · Contrast checker → · Palette generator →

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