#30402A#30402A

#30402A is a dark, muted green. Relative luminance 0.045; OKLCH L 35.1% C 0.042 H 137.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#30402A
RGBrgb(48, 64, 42)
HSLhsl(104, 21%, 21%)
HSVhsv(104, 34%, 25%)
CMYKcmyk(25%, 0%, 34.4%, 74.9%)
CIE-LABlab(25.14, -11.47, 11.43)
CIE-LCHlch(25.14, 16.19, 135.12°)
OKLaboklab(35.06% -0.0312 0.0288)
OKLCHoklch(35.06% 0.042 137.4)
XYZxyz(3.4701, 4.4622, 2.8685)
Luminance0.0446 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30402A #3A2A40
analogous
#3B402A #30402A #2A402F
triadic
#30402A #2A3040 #402A30
tetradic
#30402A #2A3B40 #3A2A40 #402F2A
square
#30402A #2A3B40 #3A2A40 #402F2A
split-complementary
#30402A #2F2A40 #402A3B
monochromatic
#0E120C #141B12 #30402A #4C6542 #678A5A

Accessibility & contrast

On white

11.10
#30402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#30402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30402A
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30402A#FFFFFF#000000##FFFFFF
##30402A1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D29
Deuteranopia (green-blind)
#3F3B2B
Tritanopia (blue-blind)
#303E3A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30402a;
/* rgb */ color: rgb(48, 64, 42);
/* oklch */ color: oklch(35.1% 0.042 137.4);
Tailwind
colors: {
  custom: {
    50: '#687563',
    500: '#30402a',
    950: '#000000',
  },
}
SCSS
$custom: #30402a;
$custom-light: #687563;
$custom-dark: #000000;
JSON
{
  "hex": "#30402a",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 103.636,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35063,
    "c": 0.04246,
    "h": 137.4
  },
  "luminance": 0.04462
}

Semantic roles & 50–950 ramp

primary
#30402A
secondary
#695571
accent
#6ABDA7
background
#F6F7F5
surface
#EBEDEA
border
#C6C8C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #30402A

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

Preview Lab → · Contrast checker → · Palette generator →

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