#30370F#30370F

#30370F is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.061 H 118.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#30370F
RGBrgb(48, 55, 15)
HSLhsl(71, 57%, 14%)
HSVhsv(71, 73%, 22%)
CMYKcmyk(12.7%, 0%, 72.7%, 78.4%)
CIE-LABlab(21.56, -9.88, 23.35)
CIE-LCHlch(21.56, 25.36, 112.94°)
OKLaboklab(32.04% -0.0289 0.0534)
OKLCHoklch(32.04% 0.061 118.4)
XYZxyz(2.6714, 3.3953, 0.9665)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30370F #160F37
analogous
#372A0F #30370F #1C370F
triadic
#30370F #0F3037 #370F30
tetradic
#30370F #0F372A #160F37 #370F1C
square
#30370F #0F372A #160F37 #370F1C
split-complementary
#30370F #0F1C37 #2A0F37
monochromatic
#151807 #151807 #30370F #5A671C #849729

Accessibility & contrast

On white

12.51
#30370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#30370F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30370F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30370F#FFFFFF#000000##FFFFFF
##30370F1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340A
Deuteranopia (green-blind)
#3A3412
Tritanopia (blue-blind)
#33342F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #30370f;
/* rgb */ color: rgb(48, 55, 15);
/* oklch */ color: oklch(32.0% 0.061 118.4);
Tailwind
colors: {
  custom: {
    50: '#6a6d4f',
    500: '#30370f',
    950: '#000000',
  },
}
SCSS
$custom: #30370f;
$custom-light: #6a6d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#30370f",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 70.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32041,
    "c": 0.06074,
    "h": 118.4
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#30370F
secondary
#3C3171
accent
#47E062
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #30370F

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

Preview Lab → · Contrast checker → · Palette generator →

#30370F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva