#305019#305019

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

Color values

HEX#305019
RGBrgb(48, 80, 25)
HSLhsl(95, 52%, 21%)
HSVhsv(95, 69%, 31%)
CMYKcmyk(40%, 0%, 68.8%, 68.6%)
CIE-LABlab(30.49, -22.72, 27.94)
CIE-LCHlch(30.49, 36.01, 129.12°)
OKLaboklab(39.31% -0.0633 0.0646)
OKLCHoklch(39.31% 0.09 134.4)
XYZxyz(4.2630, 6.4357, 1.9371)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305019 #391950
analogous
#4B5019 #305019 #19501D
triadic
#305019 #193050 #501930
tetradic
#305019 #194B50 #391950 #501D19
square
#305019 #194B50 #391950 #501D19
split-complementary
#305019 #1D1950 #50194B
monochromatic
#0E1707 #14210A #305019 #4C7F28 #68AD36

Accessibility & contrast

On white

9.18
#305019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#305019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305019
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305019#FFFFFF#000000##FFFFFF
##3050191.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534912
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#304D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #305019;
/* rgb */ color: rgb(48, 80, 25);
/* oklch */ color: oklch(39.3% 0.090 134.4);
Tailwind
colors: {
  custom: {
    50: '#6b8158',
    500: '#305019',
    950: '#000000',
  },
}
SCSS
$custom: #305019;
$custom-light: #6b8158;
$custom-dark: #000000;
JSON
{
  "hex": "#305019",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 94.909,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39305,
    "c": 0.09044,
    "h": 134.4
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#305019
secondary
#683E86
accent
#4CDCA0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305019

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

Preview Lab → · Contrast checker → · Palette generator →

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