#306611#306611

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

Color values

HEX#306611
RGBrgb(48, 102, 17)
HSLhsl(98, 71%, 23%)
HSVhsv(98, 83%, 40%)
CMYKcmyk(52.9%, 0%, 83.3%, 60%)
CIE-LABlab(38.15, -33.52, 39.10)
CIE-LCHlch(38.15, 51.51, 130.61°)
OKLaboklab(45.57% -0.0931 0.0868)
OKLCHoklch(45.57% 0.127 137)
XYZxyz(6.0713, 10.1712, 2.1735)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306611 #471166
analogous
#5A6611 #306611 #11661C
triadic
#306611 #113066 #661130
tetradic
#306611 #115A66 #471166 #661C11
square
#306611 #115A66 #471166 #661C11
split-complementary
#306611 #1C1166 #66115A
monochromatic
#0C1A04 #173208 #306611 #499A1A #61CF22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306611#FFFFFF#000000##FFFFFF
##3066111.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)
#63581B
Tritanopia (blue-blind)
#2D6256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #306611;
/* rgb */ color: rgb(48, 102, 17);
/* oklch */ color: oklch(45.6% 0.127 137.0);
Tailwind
colors: {
  custom: {
    50: '#6f9257',
    500: '#306611',
    950: '#000000',
  },
}
SCSS
$custom: #306611;
$custom-light: #6f9257;
$custom-dark: #000000;
JSON
{
  "hex": "#306611",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 98.118,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.12732,
    "h": 137
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#306611
secondary
#78359E
accent
#3AEEAC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #306611

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

Preview Lab → · Contrast checker → · Palette generator →

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