#308E51#308E51

#308E51 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.128 H 151.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#308E51
RGBrgb(48, 142, 81)
HSLhsl(141, 49%, 37%)
HSVhsv(141, 66%, 56%)
CMYKcmyk(66.2%, 0%, 43%, 44.3%)
CIE-LABlab(52.47, -41.71, 24.62)
CIE-LCHlch(52.47, 48.44, 149.45°)
OKLaboklab(57.61% -0.1126 0.0609)
OKLCHoklch(57.61% 0.128 151.6)
XYZxyz(12.3761, 20.5672, 11.1006)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E51 #8E306D
analogous
#3E8E30 #308E51 #308E80
triadic
#308E51 #51308E #8E5130
tetradic
#308E51 #303E8E #8E306D #8E8030
square
#308E51 #303E8E #8E306D #8E8030
split-complementary
#308E51 #80308E #8E303E
monochromatic
#11331D #216037 #308E51 #3FBC6B #6BCD8E

Accessibility & contrast

On white

4.11
#308E51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#308E51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E51
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E51#FFFFFF#000000##000000
##308E511.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824D
Deuteranopia (green-blind)
#827A55
Tritanopia (blue-blind)
#058C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308e51;
/* rgb */ color: rgb(48, 142, 81);
/* oklch */ color: oklch(57.6% 0.128 151.6);
Tailwind
colors: {
  custom: {
    50: '#74b082',
    500: '#308e51',
    950: '#000000',
  },
}
SCSS
$custom: #308e51;
$custom-light: #74b082;
$custom-dark: #000000;
JSON
{
  "hex": "#308e51",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 81
  },
  "hsl": {
    "h": 141.064,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.12805,
    "h": 151.6
  },
  "luminance": 0.20568
}

Semantic roles & 50–950 ramp

primary
#308E51
secondary
#B46599
accent
#4FA8D9
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308E51

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

Preview Lab → · Contrast checker → · Palette generator →

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