#306F10#306F10

#306F10 is a mid, vivid yellow-green. Relative luminance 0.120; OKLCH L 48.1% C 0.139 H 137.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#306F10
RGBrgb(48, 111, 16)
HSLhsl(100, 75%, 25%)
HSVhsv(100, 86%, 44%)
CMYKcmyk(56.8%, 0%, 85.6%, 56.5%)
CIE-LABlab(41.27, -37.31, 42.32)
CIE-LCHlch(41.27, 56.42, 131.39°)
OKLaboklab(48.14% -0.1033 0.0934)
OKLCHoklch(48.14% 0.139 137.9)
XYZxyz(6.9966, 12.0341, 2.4442)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F10 #4F106F
analogous
#606F10 #306F10 #106F1F
triadic
#306F10 #10306F #6F1030
tetradic
#306F10 #10606F #4F106F #6F1F10
square
#306F10 #10606F #4F106F #6F1F10
split-complementary
#306F10 #1F106F #6F1060
monochromatic
#0C1B04 #193A08 #306F10 #47A418 #5EDA1F

Accessibility & contrast

On white

6.16
#306F10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#306F10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F10
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F10#FFFFFF#000000##FFFFFF
##306F101.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B5F1C
Tritanopia (blue-blind)
#2B6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306f10;
/* rgb */ color: rgb(48, 111, 16);
/* oklch */ color: oklch(48.1% 0.139 137.9);
Tailwind
colors: {
  custom: {
    50: '#709958',
    500: '#306f10',
    950: '#000000',
  },
}
SCSS
$custom: #306f10;
$custom-light: #709958;
$custom-dark: #000000;
JSON
{
  "hex": "#306f10",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 16
  },
  "hsl": {
    "h": 99.789,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48138,
    "c": 0.13929,
    "h": 137.9
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#306F10
secondary
#8034A7
accent
#36F1B2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306F10

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

Preview Lab → · Contrast checker → · Palette generator →

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