#305015#305015

#305015 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.3% C 0.094 H 133.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#305015
RGBrgb(48, 80, 21)
HSLhsl(93, 58%, 20%)
HSVhsv(93, 74%, 31%)
CMYKcmyk(40%, 0%, 73.7%, 68.6%)
CIE-LABlab(30.45, -23.11, 29.84)
CIE-LCHlch(30.45, 37.75, 127.76°)
OKLaboklab(39.26% -0.0647 0.0681)
OKLCHoklch(39.26% 0.094 133.5)
XYZxyz(4.2229, 6.4197, 1.7259)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305015 #351550
analogous
#4E5015 #305015 #155017
triadic
#305015 #153050 #501530
tetradic
#305015 #154E50 #351550 #501715
square
#305015 #154E50 #351550 #501715
split-complementary
#305015 #171550 #50154E
monochromatic
#0F1806 #132008 #305015 #4D8022 #6AB12E

Accessibility & contrast

On white

9.19
#305015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#305015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305015
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305015#FFFFFF#000000##FFFFFF
##3050151.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#4F471A
Tritanopia (blue-blind)
#304D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #305015;
/* rgb */ color: rgb(48, 80, 21);
/* oklch */ color: oklch(39.3% 0.094 133.5);
Tailwind
colors: {
  custom: {
    50: '#6b8156',
    500: '#305015',
    950: '#000000',
  },
}
SCSS
$custom: #305015;
$custom-light: #6b8156;
$custom-dark: #000000;
JSON
{
  "hex": "#305015",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 92.542,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39261,
    "c": 0.09391,
    "h": 133.5
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#305015
secondary
#643988
accent
#46E29A
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305015

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

Preview Lab → · Contrast checker → · Palette generator →

#305015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva