#30380C#30380C

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

Color values

HEX#30380C
RGBrgb(48, 56, 12)
HSLhsl(71, 65%, 13%)
HSVhsv(71, 79%, 22%)
CMYKcmyk(14.3%, 0%, 78.6%, 78%)
CIE-LABlab(21.88, -10.74, 25.17)
CIE-LCHlch(21.88, 27.37, 113.11°)
OKLaboklab(32.29% -0.0316 0.0568)
OKLCHoklch(32.29% 0.065 119.1)
XYZxyz(2.6995, 3.4833, 0.8779)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30380C #140C38
analogous
#382A0C #30380C #1A380C
triadic
#30380C #0C3038 #380C30
tetradic
#30380C #0C382A #140C38 #380C1A
square
#30380C #0C382A #140C38 #380C1A
split-complementary
#30380C #0C1A38 #2A0C38
monochromatic
#161905 #161905 #30380C #5B6A17 #869D22

Accessibility & contrast

On white

12.38
#30380C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30380C
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30380C#FFFFFF#000000##FFFFFF
##30380C1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30380c;
/* rgb */ color: rgb(48, 56, 12);
/* oklch */ color: oklch(32.3% 0.065 119.1);
Tailwind
colors: {
  custom: {
    50: '#6a6e4e',
    500: '#30380c',
    950: '#000000',
  },
}
SCSS
$custom: #30380c;
$custom-light: #6a6e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#30380c",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 70.909,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3229,
    "c": 0.06504,
    "h": 119.1
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#30380C
secondary
#392C74
accent
#40E85F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #30380C

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

Preview Lab → · Contrast checker → · Palette generator →

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