#30481E#30481E

#30481E is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.072 H 133.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#30481E
RGBrgb(48, 72, 30)
HSLhsl(94, 41%, 20%)
HSVhsv(94, 58%, 28%)
CMYKcmyk(33.3%, 0%, 58.3%, 71.8%)
CIE-LABlab(27.73, -17.95, 22.07)
CIE-LCHlch(27.73, 28.45, 129.13°)
OKLaboklab(37.08% -0.0497 0.0526)
OKLCHoklch(37.08% 0.072 133.4)
XYZxyz(3.7706, 5.3567, 2.0633)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30481E #361E48
analogous
#45481E #30481E #1E4821
triadic
#30481E #1E3048 #481E30
tetradic
#30481E #1E4548 #361E48 #48211E
square
#30481E #1E4548 #361E48 #48211E
split-complementary
#30481E #211E48 #481E45
monochromatic
#0E1609 #131D0C #30481E #4D7330 #6A9E42

Accessibility & contrast

On white

10.14
#30481E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#30481E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30481E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30481E#FFFFFF#000000##FFFFFF
##30481E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#474121
Tritanopia (blue-blind)
#30453E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #30481e;
/* rgb */ color: rgb(48, 72, 30);
/* oklch */ color: oklch(37.1% 0.072 133.4);
Tailwind
colors: {
  custom: {
    50: '#6a7b5b',
    500: '#30481e',
    950: '#000000',
  },
}
SCSS
$custom: #30481e;
$custom-light: #6a7b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#30481e",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 30
  },
  "hsl": {
    "h": 94.286,
    "s": 41.176,
    "l": 20
  },
  "oklch": {
    "l": 0.3708,
    "c": 0.07235,
    "h": 133.4
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#30481E
secondary
#65457D
accent
#57D19D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #30481E

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

Preview Lab → · Contrast checker → · Palette generator →

#30481E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva