#306A2B#306A2B

#306A2B is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.0% C 0.113 H 142.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#306A2B
RGBrgb(48, 106, 43)
HSLhsl(115, 42%, 29%)
HSVhsv(115, 59%, 42%)
CMYKcmyk(54.7%, 0%, 59.4%, 58.4%)
CIE-LABlab(39.77, -32.71, 29.27)
CIE-LCHlch(39.77, 43.90, 138.18°)
OKLaboklab(46.97% -0.0892 0.0694)
OKLCHoklch(46.97% 0.113 142.1)
XYZxyz(6.8087, 11.1103, 4.0708)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A2B #652B6A
analogous
#506A2B #306A2B #2B6A46
triadic
#306A2B #2B306A #6A2B30
tetradic
#306A2B #2B506A #652B6A #6A462B
square
#306A2B #2B506A #652B6A #6A462B
split-complementary
#306A2B #462B6A #6A2B50
monochromatic
#0A1609 #1C3E19 #306A2B #44963D #5DBA55

Accessibility & contrast

On white

6.52
#306A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#306A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A2B
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A2B#FFFFFF#000000##FFFFFF
##306A2B1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6125
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#29675C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #306a2b;
/* rgb */ color: rgb(48, 106, 43);
/* oklch */ color: oklch(47.0% 0.113 142.1);
Tailwind
colors: {
  custom: {
    50: '#6e9566',
    500: '#306a2b',
    950: '#000000',
  },
}
SCSS
$custom: #306a2b;
$custom-light: #6e9566;
$custom-dark: #000000;
JSON
{
  "hex": "#306a2b",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 115.238,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.46971,
    "c": 0.11302,
    "h": 142.1
  },
  "luminance": 0.11111
}

Semantic roles & 50–950 ramp

primary
#306A2B
secondary
#96559C
accent
#56D2C8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #306A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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