#306D10#306D10

#306D10 is a mid, vivid yellow-green. Relative luminance 0.116; OKLCH L 47.6% C 0.137 H 137.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#306D10
RGBrgb(48, 109, 16)
HSLhsl(99, 74%, 25%)
HSVhsv(99, 85%, 43%)
CMYKcmyk(56%, 0%, 85.3%, 57.3%)
CIE-LABlab(40.58, -36.49, 41.69)
CIE-LCHlch(40.58, 55.40, 131.20°)
OKLaboklab(47.57% -0.1012 0.0921)
OKLCHoklch(47.57% 0.137 137.7)
XYZxyz(6.7809, 11.6025, 2.3723)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D10 #4D106D
analogous
#5F6D10 #306D10 #106D1F
triadic
#306D10 #10306D #6D1030
tetradic
#306D10 #105F6D #4D106D #6D1F10
square
#306D10 #105F6D #4D106D #6D1F10
split-complementary
#306D10 #1F106D #6D105F
monochromatic
#0C1B04 #183808 #306D10 #48A218 #5FD820

Accessibility & contrast

On white

6.32
#306D10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#306D10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D10
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D10#FFFFFF#000000##FFFFFF
##306D101.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#2B695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d10;
/* rgb */ color: rgb(48, 109, 16);
/* oklch */ color: oklch(47.6% 0.137 137.7);
Tailwind
colors: {
  custom: {
    50: '#709758',
    500: '#306d10',
    950: '#000000',
  },
}
SCSS
$custom: #306d10;
$custom-light: #709758;
$custom-dark: #000000;
JSON
{
  "hex": "#306d10",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 16
  },
  "hsl": {
    "h": 99.355,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.13679,
    "h": 137.7
  },
  "luminance": 0.11603
}

Semantic roles & 50–950 ramp

primary
#306D10
secondary
#7E34A5
accent
#37F1B1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306D10

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

Preview Lab → · Contrast checker → · Palette generator →

#306D10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva