#308D23#308D23

#308D23 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.166 H 141.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#308D23
RGBrgb(48, 141, 35)
HSLhsl(113, 60%, 35%)
HSVhsv(113, 75%, 55%)
CMYKcmyk(66%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.61, -47.41, 45.77)
CIE-LCHlch(51.61, 65.90, 136.01°)
OKLaboklab(56.72% -0.1295 0.1034)
OKLCHoklch(56.72% 0.166 141.4)
XYZxyz(11.0466, 19.7984, 4.8291)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D23 #80238D
analogous
#658D23 #308D23 #238D4B
triadic
#308D23 #23308D #8D2330
tetradic
#308D23 #23658D #80238D #8D4B23
square
#308D23 #23658D #80238D #8D4B23
split-complementary
#308D23 #4B238D #8D2365
monochromatic
#0F2B0B #1F5C17 #308D23 #41BE2F #65D555

Accessibility & contrast

On white

4.23
#308D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#308D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D23
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D23#FFFFFF#000000##000000
##308D231.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#1F8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d23;
/* rgb */ color: rgb(48, 141, 35);
/* oklch */ color: oklch(56.7% 0.166 141.4);
Tailwind
colors: {
  custom: {
    50: '#75af65',
    500: '#308d23',
    950: '#000000',
  },
}
SCSS
$custom: #308d23;
$custom-light: #75af65;
$custom-dark: #000000;
JSON
{
  "hex": "#308d23",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 112.642,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5672,
    "c": 0.16571,
    "h": 141.4
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#308D23
secondary
#AC53B9
accent
#44E3D0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308D23

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

Preview Lab → · Contrast checker → · Palette generator →

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