#308E52#308E52

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

Color values

HEX#308E52
RGBrgb(48, 142, 82)
HSLhsl(142, 49%, 37%)
HSVhsv(142, 66%, 56%)
CMYKcmyk(66.2%, 0%, 42.3%, 44.3%)
CIE-LABlab(52.49, -41.53, 24.10)
CIE-LCHlch(52.49, 48.01, 149.87°)
OKLaboklab(57.63% -0.1121 0.0597)
OKLCHoklch(57.63% 0.127 152)
XYZxyz(12.4139, 20.5823, 11.2996)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E52 #8E306C
analogous
#3D8E30 #308E52 #308E81
triadic
#308E52 #52308E #8E5230
tetradic
#308E52 #303D8E #8E306C #8E8130
square
#308E52 #303D8E #8E306C #8E8130
split-complementary
#308E52 #81308E #8E303D
monochromatic
#11331D #216038 #308E52 #3FBC6C #6BCD8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308E52#FFFFFF#000000##000000
##308E521.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)
#8E824E
Deuteranopia (green-blind)
#827A56
Tritanopia (blue-blind)
#048C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308e52;
/* rgb */ color: rgb(48, 142, 82);
/* oklch */ color: oklch(57.6% 0.127 152.0);
Tailwind
colors: {
  custom: {
    50: '#74b083',
    500: '#308e52',
    950: '#000000',
  },
}
SCSS
$custom: #308e52;
$custom-light: #74b083;
$custom-dark: #000000;
JSON
{
  "hex": "#308e52",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 82
  },
  "hsl": {
    "h": 141.702,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57625,
    "c": 0.12707,
    "h": 152
  },
  "luminance": 0.20584
}

Semantic roles & 50–950 ramp

primary
#308E52
secondary
#B46598
accent
#4FA7D9
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308E52

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

Preview Lab → · Contrast checker → · Palette generator →

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