#2D450E#2D450E

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

Color values

HEX#2D450E
RGBrgb(45, 69, 14)
HSLhsl(86, 66%, 16%)
HSVhsv(86, 80%, 27%)
CMYKcmyk(34.8%, 0%, 79.7%, 72.9%)
CIE-LABlab(26.29, -19.34, 28.69)
CIE-LCHlch(26.29, 34.60, 123.99°)
OKLaboklab(35.8% -0.0548 0.0646)
OKLCHoklch(35.8% 0.085 130.4)
XYZxyz(3.2896, 4.8457, 1.1774)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D450E #260E45
analogous
#45420E #2D450E #12450E
triadic
#2D450E #0E2D45 #450E2D
tetradic
#2D450E #0E4542 #260E45 #450E12
square
#2D450E #0E4542 #260E45 #450E12
split-complementary
#2D450E #0E1245 #420E45
monochromatic
#111905 #111905 #2D450E #4E7818 #6FAB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D450E#FFFFFF#000000##FFFFFF
##2D450E1.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)
#493F05
Deuteranopia (green-blind)
#453E13
Tritanopia (blue-blind)
#2E423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d450e;
/* rgb */ color: rgb(45, 69, 14);
/* oklch */ color: oklch(35.8% 0.085 130.4);
Tailwind
colors: {
  custom: {
    50: '#687950',
    500: '#2d450e',
    950: '#000000',
  },
}
SCSS
$custom: #2d450e;
$custom-light: #687950;
$custom-dark: #000000;
JSON
{
  "hex": "#2d450e",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 86.182,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35804,
    "c": 0.08471,
    "h": 130.4
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#2D450E
secondary
#522F80
accent
#3FE989
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D450E

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

Preview Lab → · Contrast checker → · Palette generator →

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