#2D451E#2D451E

#2D451E is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.069 H 134.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2D451E
RGBrgb(45, 69, 30)
HSLhsl(97, 39%, 19%)
HSVhsv(97, 57%, 27%)
CMYKcmyk(34.8%, 0%, 56.5%, 72.9%)
CIE-LABlab(26.47, -17.60, 20.51)
CIE-LCHlch(26.47, 27.02, 130.63°)
OKLaboklab(36.01% -0.0486 0.0491)
OKLCHoklch(36.01% 0.069 134.7)
XYZxyz(3.4446, 4.9077, 1.9938)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D451E #361E45
analogous
#41451E #2D451E #1E4523
triadic
#2D451E #1E2D45 #451E2D
tetradic
#2D451E #1E4145 #361E45 #45231E
square
#2D451E #1E4145 #361E45 #45231E
split-complementary
#2D451E #231E45 #451E41
monochromatic
#0E1509 #111A0B #2D451E #497031 #659A43

Accessibility & contrast

On white

10.60
#2D451E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2D451E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D451E
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D451E#FFFFFF#000000##FFFFFF
##2D451E1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401B
Deuteranopia (green-blind)
#443E21
Tritanopia (blue-blind)
#2D423C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d451e;
/* rgb */ color: rgb(45, 69, 30);
/* oklch */ color: oklch(36.0% 0.069 134.7);
Tailwind
colors: {
  custom: {
    50: '#67795b',
    500: '#2d451e',
    950: '#000000',
  },
}
SCSS
$custom: #2d451e;
$custom-light: #67795b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d451e",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 30
  },
  "hsl": {
    "h": 96.923,
    "s": 39.394,
    "l": 19.412
  },
  "oklch": {
    "l": 0.36008,
    "c": 0.06909,
    "h": 134.7
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#2D451E
secondary
#65457A
accent
#59CFA2
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2D451E

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

Preview Lab → · Contrast checker → · Palette generator →

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