#308E54#308E54

#308E54 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.125 H 152.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#308E54
RGBrgb(48, 142, 84)
HSLhsl(143, 49%, 37%)
HSVhsv(143, 66%, 56%)
CMYKcmyk(66.2%, 0%, 40.8%, 44.3%)
CIE-LABlab(52.52, -41.15, 23.04)
CIE-LCHlch(52.52, 47.16, 150.75°)
OKLaboklab(57.66% -0.1112 0.0573)
OKLCHoklch(57.66% 0.125 152.7)
XYZxyz(12.4911, 20.6132, 11.7062)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E54 #8E306A
analogous
#3B8E30 #308E54 #308E83
triadic
#308E54 #54308E #8E5430
tetradic
#308E54 #303B8E #8E306A #8E8330
square
#308E54 #303B8E #8E306A #8E8330
split-complementary
#308E54 #83308E #8E303B
monochromatic
#11331E #216039 #308E54 #3FBC6F #6BCD91

Accessibility & contrast

On white

4.10
#308E54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#308E54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E54
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E54#FFFFFF#000000##000000
##308E541.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8250
Deuteranopia (green-blind)
#827A58
Tritanopia (blue-blind)
#028C80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308e54;
/* rgb */ color: rgb(48, 142, 84);
/* oklch */ color: oklch(57.7% 0.125 152.7);
Tailwind
colors: {
  custom: {
    50: '#74b084',
    500: '#308e54',
    950: '#000000',
  },
}
SCSS
$custom: #308e54;
$custom-light: #74b084;
$custom-dark: #000000;
JSON
{
  "hex": "#308e54",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 84
  },
  "hsl": {
    "h": 142.979,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.1251,
    "h": 152.7
  },
  "luminance": 0.20614
}

Semantic roles & 50–950 ramp

primary
#308E54
secondary
#B46596
accent
#4FA4D9
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #308E54

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

Preview Lab → · Contrast checker → · Palette generator →

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