#2D400B#2D400B

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

Color values

HEX#2D400B
RGBrgb(45, 64, 11)
HSLhsl(82, 71%, 15%)
HSVhsv(82, 83%, 25%)
CMYKcmyk(29.7%, 0%, 82.8%, 74.9%)
CIE-LABlab(24.48, -16.88, 28.19)
CIE-LCHlch(24.48, 32.86, 120.91°)
OKLaboklab(34.32% -0.0484 0.063)
OKLCHoklch(34.32% 0.079 127.5)
XYZxyz(2.9760, 4.2488, 0.9798)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D400B #1E0B40
analogous
#40390B #2D400B #13400B
triadic
#2D400B #0B2D40 #400B2D
tetradic
#2D400B #0B4039 #1E0B40 #400B13
square
#2D400B #0B4039 #1E0B40 #400B13
split-complementary
#2D400B #0B1340 #390B40
monochromatic
#121A04 #121A04 #2D400B #527414 #76A81D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D400B#FFFFFF#000000##FFFFFF
##2D400B1.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)
#443B03
Deuteranopia (green-blind)
#413A10
Tritanopia (blue-blind)
#2F3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d400b;
/* rgb */ color: rgb(45, 64, 11);
/* oklch */ color: oklch(34.3% 0.079 127.5);
Tailwind
colors: {
  custom: {
    50: '#68754e',
    500: '#2d400b',
    950: '#000000',
  },
}
SCSS
$custom: #2d400b;
$custom-light: #68754e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d400b",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 81.509,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34322,
    "c": 0.07944,
    "h": 127.5
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#2D400B
secondary
#482A7D
accent
#3AED7B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D400B

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

Preview Lab → · Contrast checker → · Palette generator →

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