#30401D#30401D

#30401D is a dark, muted yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.060 H 129.3°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#30401D
RGBrgb(48, 64, 29)
HSLhsl(87, 38%, 18%)
HSVhsv(87, 55%, 25%)
CMYKcmyk(25%, 0%, 54.7%, 74.9%)
CIE-LABlab(24.90, -13.61, 19.24)
CIE-LCHlch(24.90, 23.57, 125.29°)
OKLaboklab(34.79% -0.0378 0.0462)
OKLCHoklch(34.79% 0.06 129.3)
XYZxyz(3.2741, 4.3838, 1.8358)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30401D #2D1D40
analogous
#403E1D #30401D #1E401D
triadic
#30401D #1D3040 #401D30
tetradic
#30401D #1D403E #2D1D40 #401D1E
square
#30401D #1D403E #2D1D40 #401D1E
split-complementary
#30401D #1D1E40 #3E1D40
monochromatic
#10150A #10160A #30401D #506A30 #6F9443

Accessibility & contrast

On white

11.19
#30401D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#30401D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30401D
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30401D#FFFFFF#000000##FFFFFF
##30401D1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1A
Deuteranopia (green-blind)
#413B1F
Tritanopia (blue-blind)
#313D38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30401d;
/* rgb */ color: rgb(48, 64, 29);
/* oklch */ color: oklch(34.8% 0.060 129.3);
Tailwind
colors: {
  custom: {
    50: '#69755a',
    500: '#30401d',
    950: '#000000',
  },
}
SCSS
$custom: #30401d;
$custom-light: #69755a;
$custom-dark: #000000;
JSON
{
  "hex": "#30401d",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 29
  },
  "hsl": {
    "h": 87.429,
    "s": 37.634,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34789,
    "c": 0.05969,
    "h": 129.3
  },
  "luminance": 0.04384
}

Semantic roles & 50–950 ramp

primary
#30401D
secondary
#5A4475
accent
#5ACE8F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #30401D

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

Preview Lab → · Contrast checker → · Palette generator →

#30401D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva