#30500F#30500F

#30500F is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.098 H 132.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#30500F
RGBrgb(48, 80, 15)
HSLhsl(90, 68%, 19%)
HSVhsv(90, 81%, 31%)
CMYKcmyk(40%, 0%, 81.3%, 68.6%)
CIE-LABlab(30.40, -23.60, 32.41)
CIE-LCHlch(30.40, 40.09, 126.06°)
OKLaboklab(39.21% -0.0665 0.0725)
OKLCHoklch(39.21% 0.098 132.6)
XYZxyz(4.1738, 6.4000, 1.4673)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30500F #2F0F50
analogous
#504F0F #30500F #10500F
triadic
#30500F #0F3050 #500F30
tetradic
#30500F #0F504F #2F0F50 #500F10
square
#30500F #0F504F #2F0F50 #500F10
split-complementary
#30500F #0F1050 #4F0F50
monochromatic
#0F1A05 #111C05 #30500F #4F8419 #6EB722

Accessibility & contrast

On white

9.21
#30500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#30500F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30500F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30500F#FFFFFF#000000##FFFFFF
##30500F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544903
Deuteranopia (green-blind)
#4F4715
Tritanopia (blue-blind)
#304C44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #30500f;
/* rgb */ color: rgb(48, 80, 15);
/* oklch */ color: oklch(39.2% 0.098 132.6);
Tailwind
colors: {
  custom: {
    50: '#6c8153',
    500: '#30500f',
    950: '#000000',
  },
}
SCSS
$custom: #30500f;
$custom-light: #6c8153;
$custom-dark: #000000;
JSON
{
  "hex": "#30500f",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 89.538,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39207,
    "c": 0.09837,
    "h": 132.6
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#30500F
secondary
#5D318A
accent
#3DEB93
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #30500F

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

Preview Lab → · Contrast checker → · Palette generator →

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