#306A1B#306A1B

#306A1B is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.8% C 0.126 H 138.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#306A1B
RGBrgb(48, 106, 27)
HSLhsl(104, 59%, 26%)
HSVhsv(104, 75%, 42%)
CMYKcmyk(54.7%, 0%, 74.5%, 58.4%)
CIE-LABlab(39.61, -34.47, 36.72)
CIE-LCHlch(39.61, 50.37, 133.19°)
OKLaboklab(46.79% -0.095 0.0834)
OKLCHoklch(46.79% 0.126 138.7)
XYZxyz(6.5705, 11.0151, 2.8166)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A1B #551B6A
analogous
#576A1B #306A1B #1B6A2D
triadic
#306A1B #1B306A #6A1B30
tetradic
#306A1B #1B576A #551B6A #6A2D1B
square
#306A1B #1B576A #551B6A #6A2D1B
split-complementary
#306A1B #2D1B6A #6A1B57
monochromatic
#0B1806 #1A390F #306A1B #469B27 #5CCB34

Accessibility & contrast

On white

6.56
#306A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#306A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A1B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A1B#FFFFFF#000000##FFFFFF
##306A1B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600E
Deuteranopia (green-blind)
#665B23
Tritanopia (blue-blind)
#2B665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #306a1b;
/* rgb */ color: rgb(48, 106, 27);
/* oklch */ color: oklch(46.8% 0.126 138.7);
Tailwind
colors: {
  custom: {
    50: '#6f955d',
    500: '#306a1b',
    950: '#000000',
  },
}
SCSS
$custom: #306a1b;
$custom-light: #6f955d;
$custom-dark: #000000;
JSON
{
  "hex": "#306a1b",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 104.051,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46788,
    "c": 0.12642,
    "h": 138.7
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

primary
#306A1B
secondary
#86429F
accent
#45E3B9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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