#30400F#30400F

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

Color values

HEX#30400F
RGBrgb(48, 64, 15)
HSLhsl(80, 62%, 15%)
HSVhsv(80, 77%, 25%)
CMYKcmyk(25%, 0%, 76.6%, 74.9%)
CIE-LABlab(24.73, -15.16, 26.70)
CIE-LCHlch(24.73, 30.71, 119.58°)
OKLaboklab(34.6% -0.0435 0.0605)
OKLCHoklch(34.6% 0.075 125.7)
XYZxyz(3.1386, 4.3296, 1.1222)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30400F #1F0F40
analogous
#40370F #30400F #17400F
triadic
#30400F #0F3040 #400F30
tetradic
#30400F #0F4037 #1F0F40 #400F17
square
#30400F #0F4037 #1F0F40 #400F17
split-complementary
#30400F #0F1740 #370F40
monochromatic
#131906 #131906 #30400F #55721B #7AA326

Accessibility & contrast

On white

11.25
#30400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#30400F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30400F
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30400F#FFFFFF#000000##FFFFFF
##30400F1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30400f;
/* rgb */ color: rgb(48, 64, 15);
/* oklch */ color: oklch(34.6% 0.075 125.7);
Tailwind
colors: {
  custom: {
    50: '#6a7450',
    500: '#30400f',
    950: '#000000',
  },
}
SCSS
$custom: #30400f;
$custom-light: #6a7450;
$custom-dark: #000000;
JSON
{
  "hex": "#30400f",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 79.592,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34598,
    "c": 0.07453,
    "h": 125.7
  },
  "luminance": 0.0433
}

Semantic roles & 50–950 ramp

primary
#30400F
secondary
#49307A
accent
#43E578
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #30400F

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

Preview Lab → · Contrast checker → · Palette generator →

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