#306A1A#306A1A

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

Color values

HEX#306A1A
RGBrgb(48, 106, 26)
HSLhsl(104, 61%, 26%)
HSVhsv(104, 75%, 42%)
CMYKcmyk(54.7%, 0%, 75.5%, 58.4%)
CIE-LABlab(39.60, -34.56, 37.13)
CIE-LCHlch(39.60, 50.73, 132.94°)
OKLaboklab(46.78% -0.0953 0.0841)
OKLCHoklch(46.78% 0.127 138.6)
XYZxyz(6.5592, 11.0105, 2.7567)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A1A #541A6A
analogous
#586A1A #306A1A #1A6A2C
triadic
#306A1A #1A306A #6A1A30
tetradic
#306A1A #1A586A #541A6A #6A2C1A
square
#306A1A #1A586A #541A6A #6A2C1A
split-complementary
#306A1A #2C1A6A #6A1A58
monochromatic
#0B1906 #1A390E #306A1A #469B26 #5DCC32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306A1A#FFFFFF#000000##FFFFFF
##306A1A1.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)
#6D600C
Deuteranopia (green-blind)
#665B22
Tritanopia (blue-blind)
#2B665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #306a1a;
/* rgb */ color: rgb(48, 106, 26);
/* oklch */ color: oklch(46.8% 0.127 138.6);
Tailwind
colors: {
  custom: {
    50: '#6f955c',
    500: '#306a1a',
    950: '#000000',
  },
}
SCSS
$custom: #306a1a;
$custom-light: #6f955c;
$custom-dark: #000000;
JSON
{
  "hex": "#306a1a",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 26
  },
  "hsl": {
    "h": 103.5,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4678,
    "c": 0.12712,
    "h": 138.6
  },
  "luminance": 0.11011
}

Semantic roles & 50–950 ramp

primary
#306A1A
secondary
#85409F
accent
#44E4B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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