#306610#306610

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

Color values

HEX#306610
RGBrgb(48, 102, 16)
HSLhsl(98, 73%, 23%)
HSVhsv(98, 84%, 40%)
CMYKcmyk(52.9%, 0%, 84.3%, 60%)
CIE-LABlab(38.14, -33.59, 39.43)
CIE-LCHlch(38.14, 51.80, 130.42°)
OKLaboklab(45.56% -0.0934 0.0873)
OKLCHoklch(45.56% 0.128 136.9)
XYZxyz(6.0636, 10.1681, 2.1332)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306610 #461066
analogous
#5B6610 #306610 #10661B
triadic
#306610 #103066 #661030
tetradic
#306610 #105B66 #461066 #661B10
square
#306610 #105B66 #461066 #661B10
split-complementary
#306610 #1B1066 #66105B
monochromatic
#0C1A04 #173108 #306610 #499B18 #62D021

Accessibility & contrast

On white

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

On black

3.03
#306610 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##306610#FFFFFF#000000##FFFFFF
##3066101.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63581A
Tritanopia (blue-blind)
#2D6256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #306610;
/* rgb */ color: rgb(48, 102, 16);
/* oklch */ color: oklch(45.6% 0.128 136.9);
Tailwind
colors: {
  custom: {
    50: '#6f9257',
    500: '#306610',
    950: '#000000',
  },
}
SCSS
$custom: #306610;
$custom-light: #6f9257;
$custom-dark: #000000;
JSON
{
  "hex": "#306610",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 16
  },
  "hsl": {
    "h": 97.674,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.12785,
    "h": 136.9
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#306610
secondary
#77339E
accent
#38F0AB
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #306610

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

Preview Lab → · Contrast checker → · Palette generator →

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