#308E45#308E45

#308E45 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.140 H 147.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#308E45
RGBrgb(48, 142, 69)
HSLhsl(133, 49%, 37%)
HSVhsv(133, 66%, 56%)
CMYKcmyk(66.2%, 0%, 51.4%, 44.3%)
CIE-LABlab(52.29, -43.76, 30.82)
CIE-LCHlch(52.29, 53.53, 144.84°)
OKLaboklab(57.4% -0.1181 0.0746)
OKLCHoklch(57.4% 0.14 147.7)
XYZxyz(11.9653, 20.4028, 8.9366)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E45 #8E3079
analogous
#4A8E30 #308E45 #308E74
triadic
#308E45 #45308E #8E4530
tetradic
#308E45 #304A8E #8E3079 #8E7430
square
#308E45 #304A8E #8E3079 #8E7430
split-complementary
#308E45 #74308E #8E304A
monochromatic
#113319 #21602F #308E45 #3FBC5B #6BCD81

Accessibility & contrast

On white

4.13
#308E45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#308E45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E45
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E45#FFFFFF#000000##000000
##308E451.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823F
Deuteranopia (green-blind)
#847A4A
Tritanopia (blue-blind)
#118B7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308e45;
/* rgb */ color: rgb(48, 142, 69);
/* oklch */ color: oklch(57.4% 0.140 147.7);
Tailwind
colors: {
  custom: {
    50: '#74b07a',
    500: '#308e45',
    950: '#000000',
  },
}
SCSS
$custom: #308e45;
$custom-light: #74b07a;
$custom-dark: #000000;
JSON
{
  "hex": "#308e45",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 69
  },
  "hsl": {
    "h": 133.404,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.13971,
    "h": 147.7
  },
  "luminance": 0.20404
}

Semantic roles & 50–950 ramp

primary
#308E45
secondary
#B465A3
accent
#4FBAD9
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308E45

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

Preview Lab → · Contrast checker → · Palette generator →

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