#30370C#30370C

#30370C is a dark, moderate yellow. Relative luminance 0.034; OKLCH L 32.0% C 0.064 H 118.1°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#30370C
RGBrgb(48, 55, 12)
HSLhsl(70, 64%, 13%)
HSVhsv(70, 78%, 22%)
CMYKcmyk(12.7%, 0%, 78.2%, 78.4%)
CIE-LABlab(21.53, -10.14, 24.80)
CIE-LCHlch(21.53, 26.79, 112.23°)
OKLaboklab(32.01% -0.0299 0.0561)
OKLCHoklch(32.01% 0.064 118.1)
XYZxyz(2.6515, 3.3873, 0.8619)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30370C #130C37
analogous
#37280C #30370C #1A370C
triadic
#30370C #0C3037 #370C30
tetradic
#30370C #0C3728 #130C37 #370C1A
square
#30370C #0C3728 #130C37 #370C1A
split-complementary
#30370C #0C1A37 #280C37
monochromatic
#161905 #161905 #30370C #5C6917 #889B22

Accessibility & contrast

On white

12.52
#30370C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30370C
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30370C#FFFFFF#000000##FFFFFF
##30370C1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3406
Deuteranopia (green-blind)
#3A340F
Tritanopia (blue-blind)
#33342E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #30370c;
/* rgb */ color: rgb(48, 55, 12);
/* oklch */ color: oklch(32.0% 0.064 118.1);
Tailwind
colors: {
  custom: {
    50: '#6a6d4d',
    500: '#30370c',
    950: '#000000',
  },
}
SCSS
$custom: #30370c;
$custom-light: #6a6d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#30370c",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 69.767,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32008,
    "c": 0.06357,
    "h": 118.1
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#30370C
secondary
#372C73
accent
#41E75C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #30370C

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

Preview Lab → · Contrast checker → · Palette generator →

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