#308F23#308F23

#308F23 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.168 H 141.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#308F23
RGBrgb(48, 143, 35)
HSLhsl(113, 61%, 35%)
HSVhsv(113, 76%, 56%)
CMYKcmyk(66.4%, 0%, 75.5%, 43.9%)
CIE-LABlab(52.28, -48.13, 46.45)
CIE-LCHlch(52.28, 66.89, 136.02°)
OKLaboklab(57.28% -0.1314 0.1049)
OKLCHoklch(57.28% 0.168 141.4)
XYZxyz(11.3442, 20.3935, 4.9283)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F23 #82238F
analogous
#668F23 #308F23 #238F4C
triadic
#308F23 #23308F #8F2330
tetradic
#308F23 #23668F #82238F #8F4C23
square
#308F23 #23668F #82238F #8F4C23
split-complementary
#308F23 #4C238F #8F2366
monochromatic
#0F2D0B #1F5E17 #308F23 #41C02F #66D657

Accessibility & contrast

On white

4.13
#308F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#308F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F23
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F23#FFFFFF#000000##000000
##308F231.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810E
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#1E8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f23;
/* rgb */ color: rgb(48, 143, 35);
/* oklch */ color: oklch(57.3% 0.168 141.4);
Tailwind
colors: {
  custom: {
    50: '#76b165',
    500: '#308f23',
    950: '#000000',
  },
}
SCSS
$custom: #308f23;
$custom-light: #76b165;
$custom-dark: #000000;
JSON
{
  "hex": "#308f23",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 112.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57275,
    "c": 0.16811,
    "h": 141.4
  },
  "luminance": 0.20395
}

Semantic roles & 50–950 ramp

primary
#308F23
secondary
#AE54BA
accent
#44E4D1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308F23

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

Preview Lab → · Contrast checker → · Palette generator →

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