#30580F#30580F

#30580F is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.5% C 0.110 H 134.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#30580F
RGBrgb(48, 88, 15)
HSLhsl(93, 71%, 20%)
HSVhsv(93, 83%, 35%)
CMYKcmyk(45.5%, 0%, 83%, 65.5%)
CIE-LABlab(33.23, -27.43, 35.14)
CIE-LCHlch(33.23, 44.58, 127.98°)
OKLaboklab(41.52% -0.0769 0.0782)
OKLCHoklch(41.52% 0.11 134.5)
XYZxyz(4.7948, 7.6421, 1.6743)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30580F #370F58
analogous
#54580F #30580F #0F5813
triadic
#30580F #0F3058 #580F30
tetradic
#30580F #0F5458 #370F58 #58130F
square
#30580F #0F5458 #370F58 #58130F
split-complementary
#30580F #130F58 #580F54
monochromatic
#0E1A04 #132406 #30580F #4D8C18 #69C121

Accessibility & contrast

On white

8.31
#30580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#30580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30580F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30580F#FFFFFF#000000##FFFFFF
##30580F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5001
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#2F544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #30580f;
/* rgb */ color: rgb(48, 88, 15);
/* oklch */ color: oklch(41.5% 0.110 134.5);
Tailwind
colors: {
  custom: {
    50: '#6d8754',
    500: '#30580f',
    950: '#000000',
  },
}
SCSS
$custom: #30580f;
$custom-light: #6d8754;
$custom-dark: #000000;
JSON
{
  "hex": "#30580f",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 92.877,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4152,
    "c": 0.10965,
    "h": 134.5
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#30580F
secondary
#663192
accent
#3AEE9D
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #30580F

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

Preview Lab → · Contrast checker → · Palette generator →

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