#30400D#30400D

#30400D is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.076 H 125.4°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#30400D
RGBrgb(48, 64, 13)
HSLhsl(79, 66%, 15%)
HSVhsv(79, 80%, 25%)
CMYKcmyk(25%, 0%, 79.7%, 74.9%)
CIE-LABlab(24.72, -15.32, 27.62)
CIE-LCHlch(24.72, 31.58, 119.01°)
OKLaboklab(34.58% -0.0442 0.0621)
OKLCHoklch(34.58% 0.076 125.4)
XYZxyz(3.1250, 4.3242, 1.0507)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30400D #1D0D40
analogous
#40370D #30400D #16400D
triadic
#30400D #0D3040 #400D30
tetradic
#30400D #0D4037 #1D0D40 #400D16
square
#30400D #0D4037 #1D0D40 #400D16
split-complementary
#30400D #0D1640 #370D40
monochromatic
#131905 #131905 #30400D #567317 #7CA622

Accessibility & contrast

On white

11.26
#30400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#30400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30400D
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30400D#FFFFFF#000000##FFFFFF
##30400D1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B05
Deuteranopia (green-blind)
#423A11
Tritanopia (blue-blind)
#323D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30400d;
/* rgb */ color: rgb(48, 64, 13);
/* oklch */ color: oklch(34.6% 0.076 125.4);
Tailwind
colors: {
  custom: {
    50: '#6a744f',
    500: '#30400d',
    950: '#000000',
  },
}
SCSS
$custom: #30400d;
$custom-light: #6a744f;
$custom-dark: #000000;
JSON
{
  "hex": "#30400d",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 78.824,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34578,
    "c": 0.07618,
    "h": 125.4
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#30400D
secondary
#462D7C
accent
#3FE974
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #30400D

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

Preview Lab → · Contrast checker → · Palette generator →

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