#30381E#30381E

#30381E is a dark, muted yellow-green. Relative luminance 0.035; OKLCH L 32.6% C 0.044 H 122.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#30381E
RGBrgb(48, 56, 30)
HSLhsl(78, 30%, 17%)
HSVhsv(78, 46%, 22%)
CMYKcmyk(14.3%, 0%, 46.4%, 78%)
CIE-LABlab(22.13, -8.68, 15.14)
CIE-LCHlch(22.13, 17.46, 119.83°)
OKLaboklab(32.56% -0.0239 0.0371)
OKLCHoklch(32.56% 0.044 122.8)
XYZxyz(2.8674, 3.5505, 1.7623)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30381E #261E38
analogous
#38331E #30381E #23381E
triadic
#30381E #1E3038 #381E30
tetradic
#30381E #1E3833 #261E38 #381E23
square
#30381E #1E3833 #261E38 #381E23
split-complementary
#30381E #1E2338 #331E38
monochromatic
#11140B #11140B #30381E #526033 #748849

Accessibility & contrast

On white

12.28
#30381E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30381E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30381E#FFFFFF#000000##FFFFFF
##30381E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351C
Deuteranopia (green-blind)
#3A351F
Tritanopia (blue-blind)
#323632
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #30381e;
/* rgb */ color: rgb(48, 56, 30);
/* oklch */ color: oklch(32.6% 0.044 122.8);
Tailwind
colors: {
  custom: {
    50: '#696e5a',
    500: '#30381e',
    950: '#000000',
  },
}
SCSS
$custom: #30381e;
$custom-light: #696e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#30381e",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 30
  },
  "hsl": {
    "h": 78.462,
    "s": 30.233,
    "l": 16.863
  },
  "oklch": {
    "l": 0.32563,
    "c": 0.04409,
    "h": 122.8
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#30381E
secondary
#52466C
accent
#61C680
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #30381E

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

Preview Lab → · Contrast checker → · Palette generator →

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