#306016#306016

#306016 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 43.9% C 0.116 H 136.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#306016
RGBrgb(48, 96, 22)
HSLhsl(99, 63%, 23%)
HSVhsv(99, 77%, 38%)
CMYKcmyk(50%, 0%, 77.1%, 62.4%)
CIE-LABlab(36.08, -30.56, 35.21)
CIE-LCHlch(36.08, 46.62, 130.95°)
OKLaboklab(43.88% -0.0848 0.0795)
OKLCHoklch(43.88% 0.116 136.9)
XYZxyz(5.5465, 9.0517, 2.2138)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306016 #461660
analogous
#556016 #306016 #166021
triadic
#306016 #163060 #601630
tetradic
#306016 #165560 #461660 #602116
square
#306016 #165560 #461660 #602116
split-complementary
#306016 #211660 #601655
monochromatic
#0C1906 #172E0B #306016 #499221 #62C42D

Accessibility & contrast

On white

7.47
#306016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#306016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306016
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306016#FFFFFF#000000##FFFFFF
##3060161.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635709
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#2D5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #306016;
/* rgb */ color: rgb(48, 96, 22);
/* oklch */ color: oklch(43.9% 0.116 136.9);
Tailwind
colors: {
  custom: {
    50: '#6d8d59',
    500: '#306016',
    950: '#000000',
  },
}
SCSS
$custom: #306016;
$custom-light: #6d8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#306016",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 98.919,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4388,
    "c": 0.11622,
    "h": 136.9
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#306016
secondary
#773B97
accent
#42E6AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #306016

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

Preview Lab → · Contrast checker → · Palette generator →

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