#306B16#306B16

#306B16 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.131 H 138.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#306B16
RGBrgb(48, 107, 22)
HSLhsl(102, 66%, 25%)
HSVhsv(102, 79%, 42%)
CMYKcmyk(55.1%, 0%, 79.4%, 58%)
CIE-LABlab(39.92, -35.29, 39.02)
CIE-LCHlch(39.92, 52.61, 132.12°)
OKLaboklab(47.03% -0.0976 0.0874)
OKLCHoklch(47.03% 0.131 138.1)
XYZxyz(6.6212, 11.2012, 2.5720)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306B16 #51166B
analogous
#5A6B16 #306B16 #166B26
triadic
#306B16 #16306B #6B1630
tetradic
#306B16 #165A6B #51166B #6B2616
square
#306B16 #165A6B #51166B #6B2616
split-complementary
#306B16 #26166B #6B165A
monochromatic
#0B1905 #19380C #306B16 #479E20 #5ED12B

Accessibility & contrast

On white

6.48
#306B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#306B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306B16
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306B16#FFFFFF#000000##FFFFFF
##306B161.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6104
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#2B675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #306b16;
/* rgb */ color: rgb(48, 107, 22);
/* oklch */ color: oklch(47.0% 0.131 138.1);
Tailwind
colors: {
  custom: {
    50: '#6f965a',
    500: '#306b16',
    950: '#000000',
  },
}
SCSS
$custom: #306b16;
$custom-light: #6f965a;
$custom-dark: #000000;
JSON
{
  "hex": "#306b16",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 101.647,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47034,
    "c": 0.13101,
    "h": 138.1
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#306B16
secondary
#823BA1
accent
#3FE9B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306B16

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

Preview Lab → · Contrast checker → · Palette generator →

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