#30381A#30381A

#30381A is a dark, muted yellow-green. Relative luminance 0.035; OKLCH L 32.5% C 0.050 H 121.5°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#30381A
RGBrgb(48, 56, 26)
HSLhsl(76, 37%, 16%)
HSVhsv(76, 54%, 22%)
CMYKcmyk(14.3%, 0%, 53.6%, 78%)
CIE-LABlab(22.06, -9.26, 17.56)
CIE-LCHlch(22.06, 19.85, 117.79°)
OKLaboklab(32.49% -0.0258 0.0423)
OKLCHoklch(32.49% 0.05 121.5)
XYZxyz(2.8196, 3.5313, 1.5102)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30381A #221A38
analogous
#38311A #30381A #21381A
triadic
#30381A #1A3038 #381A30
tetradic
#30381A #1A3831 #221A38 #381A21
square
#30381A #1A3831 #221A38 #381A21
split-complementary
#30381A #1A2138 #311A38
monochromatic
#12150A #12150A #30381A #54622D #788C41

Accessibility & contrast

On white

12.31
#30381A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#30381A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30381A
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30381A#FFFFFF#000000##FFFFFF
##30381A1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3518
Deuteranopia (green-blind)
#3A351C
Tritanopia (blue-blind)
#323531
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #30381a;
/* rgb */ color: rgb(48, 56, 26);
/* oklch */ color: oklch(32.5% 0.050 121.5);
Tailwind
colors: {
  custom: {
    50: '#696e57',
    500: '#30381a',
    950: '#000000',
  },
}
SCSS
$custom: #30381a;
$custom-light: #696e57;
$custom-dark: #000000;
JSON
{
  "hex": "#30381a",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 26
  },
  "hsl": {
    "h": 76,
    "s": 36.585,
    "l": 16.078
  },
  "oklch": {
    "l": 0.32485,
    "c": 0.04953,
    "h": 121.5
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#30381A
secondary
#4D416D
accent
#5BCD79
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #30381A

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

Preview Lab → · Contrast checker → · Palette generator →

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