#308B23#308B23

#308B23 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.163 H 141.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#308B23
RGBrgb(48, 139, 35)
HSLhsl(113, 60%, 34%)
HSVhsv(113, 75%, 55%)
CMYKcmyk(65.5%, 0%, 74.8%, 45.5%)
CIE-LABlab(50.94, -46.68, 45.09)
CIE-LCHlch(50.94, 64.91, 135.99°)
OKLaboklab(56.16% -0.1275 0.102)
OKLCHoklch(56.16% 0.163 141.3)
XYZxyz(10.7544, 19.2139, 4.7317)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B23 #7E238B
analogous
#648B23 #308B23 #238B4A
triadic
#308B23 #23308B #8B2330
tetradic
#308B23 #23648B #7E238B #8B4A23
square
#308B23 #23648B #7E238B #8B4A23
split-complementary
#308B23 #4A238B #8B2364
monochromatic
#0E290A #1F5A17 #308B23 #41BC2F #64D454

Accessibility & contrast

On white

4.34
#308B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#308B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B23
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B23#FFFFFF#000000##000000
##308B231.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#84762E
Tritanopia (blue-blind)
#208777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b23;
/* rgb */ color: rgb(48, 139, 35);
/* oklch */ color: oklch(56.2% 0.163 141.3);
Tailwind
colors: {
  custom: {
    50: '#75ae65',
    500: '#308b23',
    950: '#000000',
  },
}
SCSS
$custom: #308b23;
$custom-light: #75ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#308b23",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 112.5,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.16329,
    "h": 141.3
  },
  "luminance": 0.19215
}

Semantic roles & 50–950 ramp

primary
#308B23
secondary
#AB52B8
accent
#45E3CF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308B23

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

Preview Lab → · Contrast checker → · Palette generator →

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