#2D450D#2D450D

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

Color values

HEX#2D450D
RGBrgb(45, 69, 13)
HSLhsl(86, 68%, 16%)
HSVhsv(86, 81%, 27%)
CMYKcmyk(34.8%, 0%, 81.2%, 72.9%)
CIE-LABlab(26.28, -19.42, 29.12)
CIE-LCHlch(26.28, 35.00, 123.70°)
OKLaboklab(35.8% -0.0551 0.0653)
OKLCHoklch(35.8% 0.085 130.2)
XYZxyz(3.2829, 4.8431, 1.1425)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D450D #250D45
analogous
#45410D #2D450D #11450D
triadic
#2D450D #0D2D45 #450D2D
tetradic
#2D450D #0D4541 #250D45 #450D11
square
#2D450D #0D4541 #250D45 #450D11
split-complementary
#2D450D #0D1145 #410D45
monochromatic
#111A05 #111A05 #2D450D #4F7817 #70AC20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D450D#FFFFFF#000000##FFFFFF
##2D450D1.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)
#493F04
Deuteranopia (green-blind)
#453E12
Tritanopia (blue-blind)
#2E423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d450d;
/* rgb */ color: rgb(45, 69, 13);
/* oklch */ color: oklch(35.8% 0.085 130.2);
Tailwind
colors: {
  custom: {
    50: '#687950',
    500: '#2d450d',
    950: '#000000',
  },
}
SCSS
$custom: #2d450d;
$custom-light: #687950;
$custom-dark: #000000;
JSON
{
  "hex": "#2d450d",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 13
  },
  "hsl": {
    "h": 85.714,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35795,
    "c": 0.08546,
    "h": 130.2
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#2D450D
secondary
#512D80
accent
#3DEB87
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D450D

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

Preview Lab → · Contrast checker → · Palette generator →

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