#305016#305016

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

Color values

HEX#305016
RGBrgb(48, 80, 22)
HSLhsl(93, 57%, 20%)
HSVhsv(93, 73%, 31%)
CMYKcmyk(40%, 0%, 72.5%, 68.6%)
CIE-LABlab(30.46, -23.02, 29.38)
CIE-LCHlch(30.46, 37.32, 128.08°)
OKLaboklab(39.27% -0.0643 0.0672)
OKLCHoklch(39.27% 0.093 133.7)
XYZxyz(4.2323, 6.4234, 1.7757)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305016 #361650
analogous
#4D5016 #305016 #165019
triadic
#305016 #163050 #501630
tetradic
#305016 #164D50 #361650 #501916
square
#305016 #164D50 #361650 #501916
split-complementary
#305016 #191650 #50164D
monochromatic
#0E1807 #132009 #305016 #4D8023 #6AB030

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##305016#FFFFFF#000000##FFFFFF
##3050161.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)
#53490E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#304D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #305016;
/* rgb */ color: rgb(48, 80, 22);
/* oklch */ color: oklch(39.3% 0.093 133.7);
Tailwind
colors: {
  custom: {
    50: '#6b8156',
    500: '#305016',
    950: '#000000',
  },
}
SCSS
$custom: #305016;
$custom-light: #6b8156;
$custom-dark: #000000;
JSON
{
  "hex": "#305016",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 93.103,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.39272,
    "c": 0.09307,
    "h": 133.7
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#305016
secondary
#653A87
accent
#48E09C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #305016

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

Preview Lab → · Contrast checker → · Palette generator →

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