#308E28#308E28

#308E28 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.164 H 142.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#308E28
RGBrgb(48, 142, 40)
HSLhsl(115, 56%, 36%)
HSVhsv(115, 72%, 56%)
CMYKcmyk(66.2%, 0%, 71.8%, 44.3%)
CIE-LABlab(51.98, -47.35, 44.19)
CIE-LCHlch(51.98, 64.77, 136.97°)
OKLaboklab(57.04% -0.129 0.1008)
OKLCHoklch(57.04% 0.164 142)
XYZxyz(11.2743, 20.1265, 5.2977)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E28 #86288E
analogous
#638E28 #308E28 #288E53
triadic
#308E28 #28308E #8E2830
tetradic
#308E28 #28638E #86288E #8E5328
square
#308E28 #28638E #86288E #8E5328
split-complementary
#308E28 #53288E #8E2863
monochromatic
#102F0D #205E1B #308E28 #40BE35 #68D25F

Accessibility & contrast

On white

4.18
#308E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#308E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E28
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E28#FFFFFF#000000##000000
##308E281.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918118
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#1D8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e28;
/* rgb */ color: rgb(48, 142, 40);
/* oklch */ color: oklch(57.0% 0.164 142.0);
Tailwind
colors: {
  custom: {
    50: '#75b068',
    500: '#308e28',
    950: '#000000',
  },
}
SCSS
$custom: #308e28;
$custom-light: #75b068;
$custom-dark: #000000;
JSON
{
  "hex": "#308e28",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 115.294,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57039,
    "c": 0.16373,
    "h": 142
  },
  "luminance": 0.20128
}

Semantic roles & 50–950 ramp

primary
#308E28
secondary
#B05BB7
accent
#48DFD4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308E28

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

Preview Lab → · Contrast checker → · Palette generator →

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