#308E30#308E30

#308E30 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.158 H 143.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#308E30
RGBrgb(48, 142, 48)
HSLhsl(120, 49%, 37%)
HSVhsv(120, 66%, 56%)
CMYKcmyk(66.2%, 0%, 66.2%, 44.3%)
CIE-LABlab(52.05, -46.55, 40.84)
CIE-LCHlch(52.05, 61.92, 138.74°)
OKLaboklab(57.12% -0.1264 0.0947)
OKLCHoklch(57.12% 0.158 143.2)
XYZxyz(11.4248, 20.1866, 6.0901)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E30 #8E308E
analogous
#5F8E30 #308E30 #308E5F
triadic
#308E30 #30308E #8E3030
tetradic
#308E30 #305F8E #8E308E #8E5F30
square
#308E30 #305F8E #8E308E #8E5F30
split-complementary
#308E30 #5F308E #8E305F
monochromatic
#113311 #216021 #308E30 #3FBC3F #6BCD6B

Accessibility & contrast

On white

4.17
#308E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#308E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E30
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E30#FFFFFF#000000##000000
##308E301.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#1B8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e30;
/* rgb */ color: rgb(48, 142, 48);
/* oklch */ color: oklch(57.1% 0.158 143.2);
Tailwind
colors: {
  custom: {
    50: '#75b06d',
    500: '#308e30',
    950: '#000000',
  },
}
SCSS
$custom: #308e30;
$custom-light: #75b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#308e30",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 120,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57117,
    "c": 0.15797,
    "h": 143.2
  },
  "luminance": 0.20188
}

Semantic roles & 50–950 ramp

primary
#308E30
secondary
#B465B4
accent
#4FD9D9
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #308E30

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

Preview Lab → · Contrast checker → · Palette generator →

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