#308A34#308A34

#308A34 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.150 H 143.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#308A34
RGBrgb(48, 138, 52)
HSLhsl(123, 48%, 36%)
HSVhsv(123, 65%, 54%)
CMYKcmyk(65.2%, 0%, 62.3%, 45.9%)
CIE-LABlab(50.75, -44.59, 37.52)
CIE-LCHlch(50.75, 58.28, 139.92°)
OKLaboklab(56.06% -0.1209 0.0881)
OKLCHoklch(56.06% 0.15 143.9)
XYZxyz(10.9266, 19.0522, 6.3498)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A34 #8A3086
analogous
#598A30 #308A34 #308A61
triadic
#308A34 #34308A #8A3430
tetradic
#308A34 #30598A #8A3086 #8A6130
square
#308A34 #30598A #8A3086 #8A6130
split-complementary
#308A34 #61308A #8A3059
monochromatic
#102F12 #205D23 #308A34 #40B745 #69CB6E

Accessibility & contrast

On white

4.37
#308A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#308A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A34
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A34#FFFFFF#000000##000000
##308A341.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D2B
Deuteranopia (green-blind)
#82763B
Tritanopia (blue-blind)
#1C8678
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308a34;
/* rgb */ color: rgb(48, 138, 52);
/* oklch */ color: oklch(56.1% 0.150 143.9);
Tailwind
colors: {
  custom: {
    50: '#74ad6f',
    500: '#308a34',
    950: '#000000',
  },
}
SCSS
$custom: #308a34;
$custom-light: #74ad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#308a34",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 122.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56055,
    "c": 0.14958,
    "h": 143.9
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

primary
#308A34
secondary
#B264AF
accent
#50D2D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308A34

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

Preview Lab → · Contrast checker → · Palette generator →

#308A34 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva