#30480F#30480F

#30480F is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.087 H 129.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#30480F
RGBrgb(48, 72, 15)
HSLhsl(85, 66%, 17%)
HSVhsv(85, 79%, 28%)
CMYKcmyk(33.3%, 0%, 79.2%, 71.8%)
CIE-LABlab(27.57, -19.52, 29.60)
CIE-LCHlch(27.57, 35.45, 123.41°)
OKLaboklab(36.9% -0.0554 0.0666)
OKLCHoklch(36.9% 0.087 129.8)
XYZxyz(3.6225, 5.2975, 1.2835)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30480F #270F48
analogous
#48440F #30480F #14480F
triadic
#30480F #0F3048 #480F30
tetradic
#30480F #0F4844 #270F48 #480F14
square
#30480F #0F4844 #270F48 #480F14
split-complementary
#30480F #0F1448 #440F48
monochromatic
#111905 #111905 #30480F #527B1A #74AD24

Accessibility & contrast

On white

10.20
#30480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#30480F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30480F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30480F#FFFFFF#000000##FFFFFF
##30480F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4206
Deuteranopia (green-blind)
#484114
Tritanopia (blue-blind)
#31453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #30480f;
/* rgb */ color: rgb(48, 72, 15);
/* oklch */ color: oklch(36.9% 0.087 129.8);
Tailwind
colors: {
  custom: {
    50: '#6b7b51',
    500: '#30480f',
    950: '#000000',
  },
}
SCSS
$custom: #30480f;
$custom-light: #6b7b51;
$custom-dark: #000000;
JSON
{
  "hex": "#30480f",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 85.263,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36897,
    "c": 0.08664,
    "h": 129.8
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#30480F
secondary
#533082
accent
#3FE887
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #30480F

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

Preview Lab → · Contrast checker → · Palette generator →

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