#30400E#30400E

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

Color values

HEX#30400E
RGBrgb(48, 64, 14)
HSLhsl(79, 64%, 15%)
HSVhsv(79, 78%, 25%)
CMYKcmyk(25%, 0%, 78.1%, 74.9%)
CIE-LABlab(24.72, -15.24, 27.17)
CIE-LCHlch(24.72, 31.15, 119.29°)
OKLaboklab(34.59% -0.0438 0.0613)
OKLCHoklch(34.59% 0.075 125.6)
XYZxyz(3.1316, 4.3268, 1.0856)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30400E #1E0E40
analogous
#40370E #30400E #17400E
triadic
#30400E #0E3040 #400E30
tetradic
#30400E #0E4037 #1E0E40 #400E17
square
#30400E #0E4037 #1E0E40 #400E17
split-complementary
#30400E #0E1740 #370E40
monochromatic
#131905 #131905 #30400E #567219 #7BA424

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30400E#FFFFFF#000000##FFFFFF
##30400E1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30400e;
/* rgb */ color: rgb(48, 64, 14);
/* oklch */ color: oklch(34.6% 0.075 125.6);
Tailwind
colors: {
  custom: {
    50: '#6a7450',
    500: '#30400e',
    950: '#000000',
  },
}
SCSS
$custom: #30400e;
$custom-light: #6a7450;
$custom-dark: #000000;
JSON
{
  "hex": "#30400e",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 79.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34588,
    "c": 0.07536,
    "h": 125.6
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#30400E
secondary
#472F7B
accent
#41E776
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #30400E

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

Preview Lab → · Contrast checker → · Palette generator →

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