#306A2A#306A2A

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

Color values

HEX#306A2A
RGBrgb(48, 106, 42)
HSLhsl(114, 43%, 29%)
HSVhsv(114, 60%, 42%)
CMYKcmyk(54.7%, 0%, 60.4%, 58.4%)
CIE-LABlab(39.75, -32.84, 29.78)
CIE-LCHlch(39.75, 44.33, 137.80°)
OKLaboklab(46.96% -0.0896 0.0704)
OKLCHoklch(46.96% 0.114 141.8)
XYZxyz(6.7906, 11.1031, 3.9753)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A2A #642A6A
analogous
#506A2A #306A2A #2A6A44
triadic
#306A2A #2A306A #6A2A30
tetradic
#306A2A #2A506A #642A6A #6A442A
square
#306A2A #2A506A #642A6A #6A442A
split-complementary
#306A2A #442A6A #6A2A50
monochromatic
#0A1609 #1C3E19 #306A2A #44963B #5DBB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306A2A#FFFFFF#000000##FFFFFF
##306A2A1.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)
#6D6124
Deuteranopia (green-blind)
#655C2F
Tritanopia (blue-blind)
#29675C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #306a2a;
/* rgb */ color: rgb(48, 106, 42);
/* oklch */ color: oklch(47.0% 0.114 141.8);
Tailwind
colors: {
  custom: {
    50: '#6e9566',
    500: '#306a2a',
    950: '#000000',
  },
}
SCSS
$custom: #306a2a;
$custom-light: #6e9566;
$custom-dark: #000000;
JSON
{
  "hex": "#306a2a",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 42
  },
  "hsl": {
    "h": 114.375,
    "s": 43.243,
    "l": 29.02
  },
  "oklch": {
    "l": 0.46957,
    "c": 0.11396,
    "h": 141.8
  },
  "luminance": 0.11104
}

Semantic roles & 50–950 ramp

primary
#306A2A
secondary
#95549C
accent
#55D3C7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #306A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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