#2D451A#2D451A

#2D451A is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.074 H 133.2°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2D451A
RGBrgb(45, 69, 26)
HSLhsl(93, 45%, 19%)
HSVhsv(93, 62%, 27%)
CMYKcmyk(34.8%, 0%, 62.3%, 72.9%)
CIE-LABlab(26.41, -18.13, 22.74)
CIE-LCHlch(26.41, 29.08, 128.57°)
OKLaboklab(35.95% -0.0504 0.0536)
OKLCHoklch(35.95% 0.074 133.2)
XYZxyz(3.3967, 4.8886, 1.7417)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D451A #321A45
analogous
#42451A #2D451A #1A451C
triadic
#2D451A #1A2D45 #451A2D
tetradic
#2D451A #1A4245 #321A45 #451C1A
square
#2D451A #1A4245 #321A45 #451C1A
split-complementary
#2D451A #1C1A45 #451A42
monochromatic
#0E1608 #101909 #2D451A #4A712B #679E3B

Accessibility & contrast

On white

10.62
#2D451A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D451A
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D451A#FFFFFF#000000##FFFFFF
##2D451A1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484016
Deuteranopia (green-blind)
#443E1D
Tritanopia (blue-blind)
#2D423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d451a;
/* rgb */ color: rgb(45, 69, 26);
/* oklch */ color: oklch(35.9% 0.074 133.2);
Tailwind
colors: {
  custom: {
    50: '#687958',
    500: '#2d451a',
    950: '#000000',
  },
}
SCSS
$custom: #2d451a;
$custom-light: #687958;
$custom-dark: #000000;
JSON
{
  "hex": "#2d451a",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 26
  },
  "hsl": {
    "h": 93.488,
    "s": 45.263,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35945,
    "c": 0.07358,
    "h": 133.2
  },
  "luminance": 0.04889
}

Semantic roles & 50–950 ramp

primary
#2D451A
secondary
#61407B
accent
#53D59B
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D451A

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

Preview Lab → · Contrast checker → · Palette generator →

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