#30402C#30402C

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

Color values

HEX#30402C
RGBrgb(48, 64, 44)
HSLhsl(108, 19%, 21%)
HSVhsv(108, 31%, 25%)
CMYKcmyk(25%, 0%, 31.2%, 74.9%)
CIE-LABlab(25.19, -11.09, 10.20)
CIE-LCHlch(25.19, 15.06, 137.39°)
OKLaboklab(35.11% -0.0302 0.0258)
OKLCHoklch(35.11% 0.04 139.4)
XYZxyz(3.5068, 4.4769, 3.0618)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30402C #3C2C40
analogous
#3A402C #30402C #2C4032
triadic
#30402C #2C3040 #402C30
tetradic
#30402C #2C3A40 #3C2C40 #40322C
square
#30402C #2C3A40 #3C2C40 #40322C
split-complementary
#30402C #322C40 #402C3A
monochromatic
#0E120C #151C13 #30402C #4B6445 #66895E

Accessibility & contrast

On white

11.08
#30402C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#30402C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30402C
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30402C#FFFFFF#000000##FFFFFF
##30402C1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2B
Deuteranopia (green-blind)
#3F3B2D
Tritanopia (blue-blind)
#2F3F3B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30402c;
/* rgb */ color: rgb(48, 64, 44);
/* oklch */ color: oklch(35.1% 0.040 139.4);
Tailwind
colors: {
  custom: {
    50: '#687465',
    500: '#30402c',
    950: '#000000',
  },
}
SCSS
$custom: #30402c;
$custom-light: #687465;
$custom-dark: #000000;
JSON
{
  "hex": "#30402c",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 108,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35114,
    "c": 0.03971,
    "h": 139.4
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#30402C
secondary
#6C5771
accent
#6DBBAB
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060805
muted
#7A7B7A

Preview Lab

Preview with #30402C

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

Preview Lab → · Contrast checker → · Palette generator →

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