#306614#306614

#306614 is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.6% C 0.126 H 137.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#306614
RGBrgb(48, 102, 20)
HSLhsl(100, 67%, 24%)
HSVhsv(100, 80%, 40%)
CMYKcmyk(52.9%, 0%, 80.4%, 60%)
CIE-LABlab(38.17, -33.33, 38.06)
CIE-LCHlch(38.17, 50.59, 131.21°)
OKLaboklab(45.59% -0.0924 0.0851)
OKLCHoklch(45.59% 0.126 137.4)
XYZxyz(6.0964, 10.1812, 2.3056)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306614 #4A1466
analogous
#596614 #306614 #146621
triadic
#306614 #143066 #661430
tetradic
#306614 #145966 #4A1466 #662114
square
#306614 #145966 #4A1466 #662114
split-complementary
#306614 #211466 #661459
monochromatic
#0C1A05 #18330A #306614 #48991E #60CC28

Accessibility & contrast

On white

6.92
#306614 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#306614 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306614
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306614#FFFFFF#000000##FFFFFF
##3066141.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D03
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#2C6256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #306614;
/* rgb */ color: rgb(48, 102, 20);
/* oklch */ color: oklch(45.6% 0.126 137.4);
Tailwind
colors: {
  custom: {
    50: '#6f9258',
    500: '#306614',
    950: '#000000',
  },
}
SCSS
$custom: #306614;
$custom-light: #6f9258;
$custom-dark: #000000;
JSON
{
  "hex": "#306614",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 20
  },
  "hsl": {
    "h": 99.512,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45587,
    "c": 0.12562,
    "h": 137.4
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#306614
secondary
#7B399D
accent
#3EEAAF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306614

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

Preview Lab → · Contrast checker → · Palette generator →

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