#306A10#306A10

#306A10 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.7% C 0.133 H 137.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#306A10
RGBrgb(48, 106, 16)
HSLhsl(99, 74%, 24%)
HSVhsv(99, 85%, 42%)
CMYKcmyk(54.7%, 0%, 84.9%, 58.4%)
CIE-LABlab(39.54, -35.26, 40.73)
CIE-LCHlch(39.54, 53.87, 130.89°)
OKLaboklab(46.71% -0.0979 0.0901)
OKLCHoklch(46.71% 0.133 137.4)
XYZxyz(6.4663, 10.9734, 2.2674)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A10 #4A106A
analogous
#5D6A10 #306A10 #106A1D
triadic
#306A10 #10306A #6A1030
tetradic
#306A10 #105D6A #4A106A #6A1D10
square
#306A10 #105D6A #4A106A #6A1D10
split-complementary
#306A10 #1D106A #6A105D
monochromatic
#0C1B04 #183508 #306A10 #489F18 #60D420

Accessibility & contrast

On white

6.57
#306A10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#306A10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A10
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A10#FFFFFF#000000##FFFFFF
##306A101.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#2C665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #306a10;
/* rgb */ color: rgb(48, 106, 16);
/* oklch */ color: oklch(46.7% 0.133 137.4);
Tailwind
colors: {
  custom: {
    50: '#6f9557',
    500: '#306a10',
    950: '#000000',
  },
}
SCSS
$custom: #306a10;
$custom-light: #6f9557;
$custom-dark: #000000;
JSON
{
  "hex": "#306a10",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 98.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46708,
    "c": 0.13299,
    "h": 137.4
  },
  "luminance": 0.10974
}

Semantic roles & 50–950 ramp

primary
#306A10
secondary
#7B34A2
accent
#37F0AF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #306A10

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

Preview Lab → · Contrast checker → · Palette generator →

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