#30370A#30370A

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

Color values

HEX#30370A
RGBrgb(48, 55, 10)
HSLhsl(69, 69%, 13%)
HSVhsv(69, 82%, 22%)
CMYKcmyk(12.7%, 0%, 81.8%, 78.4%)
CIE-LABlab(21.52, -10.28, 25.64)
CIE-LCHlch(21.52, 27.62, 111.85°)
OKLaboklab(31.99% -0.0306 0.0577)
OKLCHoklch(31.99% 0.065 118)
XYZxyz(2.6400, 3.3827, 0.8010)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30370A #110A37
analogous
#37270A #30370A #1A370A
triadic
#30370A #0A3037 #370A30
tetradic
#30370A #0A3727 #110A37 #370A1A
square
#30370A #0A3727 #110A37 #370A1A
split-complementary
#30370A #0A1A37 #270A37
monochromatic
#171A05 #171A05 #30370A #5D6B13 #8A9F1D

Accessibility & contrast

On white

12.53
#30370A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30370A
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30370A#FFFFFF#000000##FFFFFF
##30370A1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3404
Deuteranopia (green-blind)
#3B340E
Tritanopia (blue-blind)
#33332E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #30370a;
/* rgb */ color: rgb(48, 55, 10);
/* oklch */ color: oklch(32.0% 0.065 118.0);
Tailwind
colors: {
  custom: {
    50: '#6a6d4c',
    500: '#30370a',
    950: '#000000',
  },
}
SCSS
$custom: #30370a;
$custom-light: #6a6d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#30370a",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 10
  },
  "hsl": {
    "h": 69.333,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31989,
    "c": 0.06526,
    "h": 118
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#30370A
secondary
#342874
accent
#3CEC57
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #30370A

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

Preview Lab → · Contrast checker → · Palette generator →

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