#30400C#30400C

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

Color values

HEX#30400C
RGBrgb(48, 64, 12)
HSLhsl(78, 68%, 15%)
HSVhsv(78, 81%, 25%)
CMYKcmyk(25%, 0%, 81.2%, 74.9%)
CIE-LABlab(24.71, -15.39, 28.06)
CIE-LCHlch(24.71, 32.00, 118.75°)
OKLaboklab(34.57% -0.0445 0.0628)
OKLCHoklch(34.57% 0.077 125.3)
XYZxyz(3.1187, 4.3217, 1.0176)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30400C #1C0C40
analogous
#40360C #30400C #16400C
triadic
#30400C #0C3040 #400C30
tetradic
#30400C #0C4036 #1C0C40 #400C16
square
#30400C #0C4036 #1C0C40 #400C16
split-complementary
#30400C #0C1640 #360C40
monochromatic
#131A05 #131A05 #30400C #577416 #7DA71F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30400C#FFFFFF#000000##FFFFFF
##30400C1.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)
#443B04
Deuteranopia (green-blind)
#423A11
Tritanopia (blue-blind)
#333D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30400c;
/* rgb */ color: rgb(48, 64, 12);
/* oklch */ color: oklch(34.6% 0.077 125.3);
Tailwind
colors: {
  custom: {
    50: '#6a744f',
    500: '#30400c',
    950: '#000000',
  },
}
SCSS
$custom: #30400c;
$custom-light: #6a744f;
$custom-dark: #000000;
JSON
{
  "hex": "#30400c",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 78.462,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34569,
    "c": 0.07695,
    "h": 125.3
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#30400C
secondary
#442C7C
accent
#3DEB72
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #30400C

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

Preview Lab → · Contrast checker → · Palette generator →

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