#306711#306711

#306711 is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 45.9% C 0.129 H 137.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#306711
RGBrgb(48, 103, 17)
HSLhsl(98, 72%, 24%)
HSVhsv(98, 83%, 40%)
CMYKcmyk(53.4%, 0%, 83.5%, 59.6%)
CIE-LABlab(38.50, -33.95, 39.43)
CIE-LCHlch(38.50, 52.03, 130.73°)
OKLaboklab(45.85% -0.0943 0.0875)
OKLCHoklch(45.85% 0.129 137.1)
XYZxyz(6.1702, 10.3689, 2.2065)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306711 #481167
analogous
#5B6711 #306711 #11671D
triadic
#306711 #113067 #671130
tetradic
#306711 #115B67 #481167 #671D11
square
#306711 #115B67 #481167 #671D11
split-complementary
#306711 #1D1167 #67115B
monochromatic
#0C1A04 #183208 #306711 #489C1A #61D022

Accessibility & contrast

On white

6.83
#306711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#306711 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306711
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306711#FFFFFF#000000##FFFFFF
##3067111.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#2C6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306711;
/* rgb */ color: rgb(48, 103, 17);
/* oklch */ color: oklch(45.9% 0.129 137.1);
Tailwind
colors: {
  custom: {
    50: '#6f9357',
    500: '#306711',
    950: '#000000',
  },
}
SCSS
$custom: #306711;
$custom-light: #6f9357;
$custom-dark: #000000;
JSON
{
  "hex": "#306711",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 98.372,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45854,
    "c": 0.12862,
    "h": 137.1
  },
  "luminance": 0.10369
}

Semantic roles & 50–950 ramp

primary
#306711
secondary
#79359F
accent
#39EEAD
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #306711

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

Preview Lab → · Contrast checker → · Palette generator →

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