#308D36#308D36

#308D36 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.152 H 144.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#308D36
RGBrgb(48, 141, 54)
HSLhsl(124, 49%, 37%)
HSVhsv(124, 66%, 55%)
CMYKcmyk(66%, 0%, 61.7%, 44.7%)
CIE-LABlab(51.77, -45.48, 37.74)
CIE-LCHlch(51.77, 59.10, 140.31°)
OKLaboklab(56.91% -0.1232 0.0887)
OKLCHoklch(56.91% 0.152 144.2)
XYZxyz(11.4090, 19.9433, 6.7375)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D36 #8D3087
analogous
#598D30 #308D36 #308D65
triadic
#308D36 #36308D #8D3630
tetradic
#308D36 #30598D #8D3087 #8D6530
square
#308D36 #30598D #8D3087 #8D6530
split-complementary
#308D36 #65308D #8D3059
monochromatic
#113213 #205F25 #308D36 #40BB47 #6BCD71

Accessibility & contrast

On white

4.21
#308D36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#308D36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D36
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D36#FFFFFF#000000##000000
##308D361.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802D
Deuteranopia (green-blind)
#84783D
Tritanopia (blue-blind)
#1A897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d36;
/* rgb */ color: rgb(48, 141, 54);
/* oklch */ color: oklch(56.9% 0.152 144.2);
Tailwind
colors: {
  custom: {
    50: '#74af70',
    500: '#308d36',
    950: '#000000',
  },
}
SCSS
$custom: #308d36;
$custom-light: #74af70;
$custom-dark: #000000;
JSON
{
  "hex": "#308d36",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 54
  },
  "hsl": {
    "h": 123.871,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56909,
    "c": 0.15185,
    "h": 144.2
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#308D36
secondary
#B465AF
accent
#4FD0D9
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308D36

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

Preview Lab → · Contrast checker → · Palette generator →

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