#30380F#30380F

#30380F is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.062 H 119.4°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#30380F
RGBrgb(48, 56, 15)
HSLhsl(72, 58%, 14%)
HSVhsv(72, 73%, 22%)
CMYKcmyk(14.3%, 0%, 73.2%, 78%)
CIE-LABlab(21.91, -10.49, 23.73)
CIE-LCHlch(21.91, 25.94, 113.85°)
OKLaboklab(32.32% -0.0306 0.0542)
OKLCHoklch(32.32% 0.062 119.4)
XYZxyz(2.7194, 3.4912, 0.9825)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30380F #170F38
analogous
#382C0F #30380F #1C380F
triadic
#30380F #0F3038 #380F30
tetradic
#30380F #0F382C #170F38 #380F1C
square
#30380F #0F382C #170F38 #380F1C
split-complementary
#30380F #0F1C38 #2C0F38
monochromatic
#151806 #151806 #30380F #59681C #839929

Accessibility & contrast

On white

12.37
#30380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#30380F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30380F
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30380F#FFFFFF#000000##FFFFFF
##30380F1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340A
Deuteranopia (green-blind)
#3B3512
Tritanopia (blue-blind)
#33352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #30380f;
/* rgb */ color: rgb(48, 56, 15);
/* oklch */ color: oklch(32.3% 0.062 119.4);
Tailwind
colors: {
  custom: {
    50: '#6a6e4f',
    500: '#30380f',
    950: '#000000',
  },
}
SCSS
$custom: #30380f;
$custom-light: #6a6e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#30380f",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 71.707,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32323,
    "c": 0.06227,
    "h": 119.4
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

primary
#30380F
secondary
#3D3072
accent
#47E165
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #30380F

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

Preview Lab → · Contrast checker → · Palette generator →

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