#30400A#30400A

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

Color values

HEX#30400A
RGBrgb(48, 64, 10)
HSLhsl(78, 73%, 15%)
HSVhsv(78, 84%, 25%)
CMYKcmyk(25%, 0%, 84.4%, 74.9%)
CIE-LABlab(24.69, -15.53, 28.89)
CIE-LCHlch(24.69, 32.80, 118.26°)
OKLaboklab(34.55% -0.045 0.0642)
OKLCHoklch(34.55% 0.078 125.1)
XYZxyz(3.1071, 4.3170, 0.9567)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30400A #1A0A40
analogous
#40350A #30400A #15400A
triadic
#30400A #0A3040 #400A30
tetradic
#30400A #0A4035 #1A0A40 #400A15
square
#30400A #0A4035 #1A0A40 #400A15
split-complementary
#30400A #0A1540 #350A40
monochromatic
#141A04 #141A04 #30400A #587512 #7FAA1B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30400A#FFFFFF#000000##FFFFFF
##30400A1.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)
#443B02
Deuteranopia (green-blind)
#423A0F
Tritanopia (blue-blind)
#333C36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30400a;
/* rgb */ color: rgb(48, 64, 10);
/* oklch */ color: oklch(34.6% 0.078 125.1);
Tailwind
colors: {
  custom: {
    50: '#6a744e',
    500: '#30400a',
    950: '#000000',
  },
}
SCSS
$custom: #30400a;
$custom-light: #6a744e;
$custom-dark: #000000;
JSON
{
  "hex": "#30400a",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 77.778,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34553,
    "c": 0.07839,
    "h": 125.1
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#30400A
secondary
#42297D
accent
#38F06F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #30400A

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

Preview Lab → · Contrast checker → · Palette generator →

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