#30371C#30371C

#30371C is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 32.2% C 0.045 H 120.9°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#30371C
RGBrgb(48, 55, 28)
HSLhsl(76, 33%, 16%)
HSVhsv(76, 49%, 22%)
CMYKcmyk(12.7%, 0%, 49.1%, 78.4%)
CIE-LABlab(21.74, -8.36, 15.92)
CIE-LCHlch(21.74, 17.99, 117.70°)
OKLaboklab(32.25% -0.0231 0.0387)
OKLCHoklch(32.25% 0.045 120.9)
XYZxyz(2.7947, 3.4446, 1.6160)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30371C #231C37
analogous
#37311C #30371C #23371C
triadic
#30371C #1C3037 #371C30
tetradic
#30371C #1C3731 #231C37 #371C23
square
#30371C #1C3731 #231C37 #371C23
split-complementary
#30371C #1C2337 #311C37
monochromatic
#12140A #12140A #30371C #536031 #778845

Accessibility & contrast

On white

12.43
#30371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#30371C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30371C
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30371C#FFFFFF#000000##FFFFFF
##30371C1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A341A
Deuteranopia (green-blind)
#39341D
Tritanopia (blue-blind)
#323430
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #30371c;
/* rgb */ color: rgb(48, 55, 28);
/* oklch */ color: oklch(32.2% 0.045 120.9);
Tailwind
colors: {
  custom: {
    50: '#696d58',
    500: '#30371c',
    950: '#000000',
  },
}
SCSS
$custom: #30371c;
$custom-light: #696d58;
$custom-dark: #000000;
JSON
{
  "hex": "#30371c",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 75.556,
    "s": 32.53,
    "l": 16.275
  },
  "oklch": {
    "l": 0.32245,
    "c": 0.0451,
    "h": 120.9
  },
  "luminance": 0.03445
}

Semantic roles & 50–950 ramp

primary
#30371C
secondary
#4E436B
accent
#5FC97A
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #30371C

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

Preview Lab → · Contrast checker → · Palette generator →

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