#306A23#306A23

#306A23 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.120 H 140.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#306A23
RGBrgb(48, 106, 35)
HSLhsl(109, 50%, 28%)
HSVhsv(109, 67%, 42%)
CMYKcmyk(54.7%, 0%, 67%, 58.4%)
CIE-LABlab(39.68, -33.69, 33.19)
CIE-LCHlch(39.68, 47.29, 135.43°)
OKLaboklab(46.87% -0.0923 0.077)
OKLCHoklch(46.87% 0.12 140.2)
XYZxyz(6.6760, 11.0573, 3.3723)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A23 #5D236A
analogous
#546A23 #306A23 #236A39
triadic
#306A23 #23306A #6A2330
tetradic
#306A23 #23546A #5D236A #6A3923
square
#306A23 #23546A #5D236A #6A3923
split-complementary
#306A23 #39236A #6A2354
monochromatic
#0A1708 #1B3C14 #306A23 #459832 #5CC246

Accessibility & contrast

On white

6.54
#306A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#306A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A23
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A23#FFFFFF#000000##FFFFFF
##306A231.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D611A
Deuteranopia (green-blind)
#655C29
Tritanopia (blue-blind)
#2A675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #306a23;
/* rgb */ color: rgb(48, 106, 35);
/* oklch */ color: oklch(46.9% 0.120 140.2);
Tailwind
colors: {
  custom: {
    50: '#6e9561',
    500: '#306a23',
    950: '#000000',
  },
}
SCSS
$custom: #306a23;
$custom-light: #6e9561;
$custom-dark: #000000;
JSON
{
  "hex": "#306a23",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 35
  },
  "hsl": {
    "h": 109.014,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4687,
    "c": 0.12022,
    "h": 140.2
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#306A23
secondary
#8E4B9D
accent
#4EDAC0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #306A23

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

Preview Lab → · Contrast checker → · Palette generator →

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