#30381C#30381C

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

Color values

HEX#30381C
RGBrgb(48, 56, 28)
HSLhsl(77, 33%, 16%)
HSVhsv(77, 50%, 22%)
CMYKcmyk(14.3%, 0%, 50%, 78%)
CIE-LABlab(22.09, -8.98, 16.36)
CIE-LCHlch(22.09, 18.66, 118.76°)
OKLaboklab(32.52% -0.0249 0.0397)
OKLCHoklch(32.52% 0.047 122.1)
XYZxyz(2.8427, 3.5406, 1.6320)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30381C #241C38
analogous
#38321C #30381C #22381C
triadic
#30381C #1C3038 #381C30
tetradic
#30381C #1C3832 #241C38 #381C22
square
#30381C #1C3832 #241C38 #381C22
split-complementary
#30381C #1C2238 #321C38
monochromatic
#11140A #11140A #30381C #536130 #768A45

Accessibility & contrast

On white

12.29
#30381C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30381C
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30381C#FFFFFF#000000##FFFFFF
##30381C1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30381c;
/* rgb */ color: rgb(48, 56, 28);
/* oklch */ color: oklch(32.5% 0.047 122.1);
Tailwind
colors: {
  custom: {
    50: '#696e58',
    500: '#30381c',
    950: '#000000',
  },
}
SCSS
$custom: #30381c;
$custom-light: #696e58;
$custom-dark: #000000;
JSON
{
  "hex": "#30381c",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 28
  },
  "hsl": {
    "h": 77.143,
    "s": 33.333,
    "l": 16.471
  },
  "oklch": {
    "l": 0.32523,
    "c": 0.04685,
    "h": 122.1
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#30381C
secondary
#4F436C
accent
#5EC97D
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #30381C

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

Preview Lab → · Contrast checker → · Palette generator →

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