#306710#306710

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

Color values

HEX#306710
RGBrgb(48, 103, 16)
HSLhsl(98, 73%, 23%)
HSVhsv(98, 84%, 40%)
CMYKcmyk(53.4%, 0%, 84.5%, 59.6%)
CIE-LABlab(38.49, -34.01, 39.76)
CIE-LCHlch(38.49, 52.32, 130.54°)
OKLaboklab(45.85% -0.0945 0.088)
OKLCHoklch(45.85% 0.129 137)
XYZxyz(6.1625, 10.3658, 2.1662)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306710 #471067
analogous
#5B6710 #306710 #10671B
triadic
#306710 #103067 #671030
tetradic
#306710 #105B67 #471067 #671B10
square
#306710 #105B67 #471067 #671B10
split-complementary
#306710 #1B1067 #67105B
monochromatic
#0C1A04 #173208 #306710 #499C18 #61D120

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306710#FFFFFF#000000##FFFFFF
##3067101.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)
#64591A
Tritanopia (blue-blind)
#2D6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306710;
/* rgb */ color: rgb(48, 103, 16);
/* oklch */ color: oklch(45.8% 0.129 137.0);
Tailwind
colors: {
  custom: {
    50: '#6f9357',
    500: '#306710',
    950: '#000000',
  },
}
SCSS
$custom: #306710;
$custom-light: #6f9357;
$custom-dark: #000000;
JSON
{
  "hex": "#306710",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 16
  },
  "hsl": {
    "h": 97.931,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45848,
    "c": 0.12914,
    "h": 137
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#306710
secondary
#78339F
accent
#38F0AC
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #306710

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

Preview Lab → · Contrast checker → · Palette generator →

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