#305519#305519

#305519 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.098 H 135.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#305519
RGBrgb(48, 85, 25)
HSLhsl(97, 55%, 22%)
HSVhsv(97, 71%, 33%)
CMYKcmyk(43.5%, 0%, 70.6%, 66.7%)
CIE-LABlab(32.25, -25.19, 29.86)
CIE-LCHlch(32.25, 39.07, 130.15°)
OKLaboklab(40.74% -0.07 0.0687)
OKLCHoklch(40.74% 0.098 135.5)
XYZxyz(4.6428, 7.1953, 2.0637)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305519 #3E1955
analogous
#4E5519 #305519 #195520
triadic
#305519 #193055 #551930
tetradic
#305519 #194E55 #3E1955 #552019
square
#305519 #194E55 #3E1955 #552019
split-complementary
#305519 #201955 #55194E
monochromatic
#0D1807 #15260B #305519 #4B8427 #65B435

Accessibility & contrast

On white

8.61
#305519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#305519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305519
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305519#FFFFFF#000000##FFFFFF
##3055191.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E11
Deuteranopia (green-blind)
#534B1E
Tritanopia (blue-blind)
#2F5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #305519;
/* rgb */ color: rgb(48, 85, 25);
/* oklch */ color: oklch(40.7% 0.098 135.5);
Tailwind
colors: {
  custom: {
    50: '#6c8559',
    500: '#305519',
    950: '#000000',
  },
}
SCSS
$custom: #305519;
$custom-light: #6c8559;
$custom-dark: #000000;
JSON
{
  "hex": "#305519",
  "rgb": {
    "r": 48,
    "g": 85,
    "b": 25
  },
  "hsl": {
    "h": 97,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.09807,
    "h": 135.5
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#305519
secondary
#6E3E8B
accent
#4ADEA5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #305519

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

Preview Lab → · Contrast checker → · Palette generator →

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