#306216#306216

#306216 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.5% C 0.119 H 137.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#306216
RGBrgb(48, 98, 22)
HSLhsl(99, 63%, 24%)
HSVhsv(99, 78%, 38%)
CMYKcmyk(51%, 0%, 77.6%, 61.6%)
CIE-LABlab(36.78, -31.45, 35.92)
CIE-LCHlch(36.78, 47.74, 131.20°)
OKLaboklab(44.45% -0.0872 0.0809)
OKLCHoklch(44.45% 0.119 137.1)
XYZxyz(5.7312, 9.4213, 2.2754)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306216 #481662
analogous
#566216 #306216 #166222
triadic
#306216 #163062 #621630
tetradic
#306216 #165662 #481662 #622216
square
#306216 #165662 #481662 #622216
split-complementary
#306216 #221662 #621656
monochromatic
#0C1906 #18300B #306216 #489421 #61C62C

Accessibility & contrast

On white

7.28
#306216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#306216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306216
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306216#FFFFFF#000000##FFFFFF
##3062161.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655908
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#2D5E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306216;
/* rgb */ color: rgb(48, 98, 22);
/* oklch */ color: oklch(44.5% 0.119 137.1);
Tailwind
colors: {
  custom: {
    50: '#6e8f59',
    500: '#306216',
    950: '#000000',
  },
}
SCSS
$custom: #306216;
$custom-light: #6e8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#306216",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 99.474,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44454,
    "c": 0.11897,
    "h": 137.1
  },
  "luminance": 0.09422
}

Semantic roles & 50–950 ramp

primary
#306216
secondary
#793B99
accent
#41E6AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #306216

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

Preview Lab → · Contrast checker → · Palette generator →

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