#306C10#306C10

#306C10 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.3% C 0.136 H 137.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#306C10
RGBrgb(48, 108, 16)
HSLhsl(99, 74%, 24%)
HSVhsv(99, 85%, 42%)
CMYKcmyk(55.6%, 0%, 85.2%, 57.6%)
CIE-LABlab(40.23, -36.09, 41.37)
CIE-LCHlch(40.23, 54.90, 131.10°)
OKLaboklab(47.28% -0.1001 0.0914)
OKLCHoklch(47.28% 0.136 137.6)
XYZxyz(6.6748, 11.3904, 2.3369)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C10 #4C106C
analogous
#5E6C10 #306C10 #106C1E
triadic
#306C10 #10306C #6C1030
tetradic
#306C10 #105E6C #4C106C #6C1E10
square
#306C10 #105E6C #4C106C #6C1E10
split-complementary
#306C10 #1E106C #6C105E
monochromatic
#0C1B04 #183708 #306C10 #48A118 #5FD720

Accessibility & contrast

On white

6.41
#306C10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#306C10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306C10
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306C10#FFFFFF#000000##FFFFFF
##306C101.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#2C685B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c10;
/* rgb */ color: rgb(48, 108, 16);
/* oklch */ color: oklch(47.3% 0.136 137.6);
Tailwind
colors: {
  custom: {
    50: '#709758',
    500: '#306c10',
    950: '#000000',
  },
}
SCSS
$custom: #306c10;
$custom-light: #709758;
$custom-dark: #000000;
JSON
{
  "hex": "#306c10",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 16
  },
  "hsl": {
    "h": 99.13,
    "s": 74.194,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47281,
    "c": 0.13552,
    "h": 137.6
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#306C10
secondary
#7D34A4
accent
#37F1B0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306C10

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

Preview Lab → · Contrast checker → · Palette generator →

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