#30400B#30400B

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

Color values

HEX#30400B
RGBrgb(48, 64, 11)
HSLhsl(78, 71%, 15%)
HSVhsv(78, 83%, 25%)
CMYKcmyk(25%, 0%, 82.8%, 74.9%)
CIE-LABlab(24.70, -15.46, 28.48)
CIE-LCHlch(24.70, 32.41, 118.50°)
OKLaboklab(34.56% -0.0447 0.0635)
OKLCHoklch(34.56% 0.078 125.2)
XYZxyz(3.1127, 4.3193, 0.9863)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30400B #1B0B40
analogous
#40360B #30400B #16400B
triadic
#30400B #0B3040 #400B30
tetradic
#30400B #0B4036 #1B0B40 #400B16
square
#30400B #0B4036 #1B0B40 #400B16
split-complementary
#30400B #0B1640 #360B40
monochromatic
#141A04 #141A04 #30400B #577414 #7EA81D

Accessibility & contrast

On white

11.27
#30400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30400B
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30400B#FFFFFF#000000##FFFFFF
##30400B1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B03
Deuteranopia (green-blind)
#423A10
Tritanopia (blue-blind)
#333C36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30400b;
/* rgb */ color: rgb(48, 64, 11);
/* oklch */ color: oklch(34.6% 0.078 125.2);
Tailwind
colors: {
  custom: {
    50: '#6a744e',
    500: '#30400b',
    950: '#000000',
  },
}
SCSS
$custom: #30400b;
$custom-light: #6a744e;
$custom-dark: #000000;
JSON
{
  "hex": "#30400b",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 78.113,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34561,
    "c": 0.07769,
    "h": 125.2
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#30400B
secondary
#432A7D
accent
#3AED70
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #30400B

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

Preview Lab → · Contrast checker → · Palette generator →

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