#308C23#308C23

#308C23 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.165 H 141.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#308C23
RGBrgb(48, 140, 35)
HSLhsl(113, 60%, 34%)
HSVhsv(113, 75%, 55%)
CMYKcmyk(65.7%, 0%, 75%, 45.1%)
CIE-LABlab(51.27, -47.05, 45.43)
CIE-LCHlch(51.27, 65.40, 136.00°)
OKLaboklab(56.44% -0.1285 0.1027)
OKLCHoklch(56.44% 0.165 141.4)
XYZxyz(10.8998, 19.5048, 4.7802)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C23 #7F238C
analogous
#658C23 #308C23 #238C4A
triadic
#308C23 #23308C #8C2330
tetradic
#308C23 #23658C #7F238C #8C4A23
square
#308C23 #23658C #7F238C #8C4A23
split-complementary
#308C23 #4A238C #8C2365
monochromatic
#0E2A0B #1F5B17 #308C23 #41BD2F #65D455

Accessibility & contrast

On white

4.28
#308C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#308C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C23
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C23#FFFFFF#000000##000000
##308C231.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#1F8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c23;
/* rgb */ color: rgb(48, 140, 35);
/* oklch */ color: oklch(56.4% 0.165 141.4);
Tailwind
colors: {
  custom: {
    50: '#75ae65',
    500: '#308c23',
    950: '#000000',
  },
}
SCSS
$custom: #308c23;
$custom-light: #75ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#308c23",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 112.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.1645,
    "h": 141.4
  },
  "luminance": 0.19506
}

Semantic roles & 50–950 ramp

primary
#308C23
secondary
#AC52B8
accent
#45E3D0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308C23

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

Preview Lab → · Contrast checker → · Palette generator →

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