#2D400D#2D400D

#2D400D is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.078 H 127.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2D400D
RGBrgb(45, 64, 13)
HSLhsl(82, 66%, 15%)
HSVhsv(82, 80%, 25%)
CMYKcmyk(29.7%, 0%, 79.7%, 74.9%)
CIE-LABlab(24.49, -16.73, 27.32)
CIE-LCHlch(24.49, 32.04, 121.48°)
OKLaboklab(34.34% -0.0478 0.0615)
OKLCHoklch(34.34% 0.078 127.8)
XYZxyz(2.9882, 4.2537, 1.0443)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D400D #200D40
analogous
#40390D #2D400D #13400D
triadic
#2D400D #0D2D40 #400D2D
tetradic
#2D400D #0D4039 #200D40 #400D13
square
#2D400D #0D4039 #200D40 #400D13
split-complementary
#2D400D #0D1340 #390D40
monochromatic
#121905 #121905 #2D400D #517317 #75A622

Accessibility & contrast

On white

11.35
#2D400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D400D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D400D#FFFFFF#000000##FFFFFF
##2D400D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B05
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#2F3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d400d;
/* rgb */ color: rgb(45, 64, 13);
/* oklch */ color: oklch(34.3% 0.078 127.8);
Tailwind
colors: {
  custom: {
    50: '#68754f',
    500: '#2d400d',
    950: '#000000',
  },
}
SCSS
$custom: #2d400d;
$custom-light: #68754f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d400d",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 82.353,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.3434,
    "c": 0.07792,
    "h": 127.8
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#2D400D
secondary
#4A2D7C
accent
#3FE97E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D400D

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

Preview Lab → · Contrast checker → · Palette generator →

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