#309F23#309F23

#309F23 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.7% C 0.187 H 141.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#309F23
RGBrgb(48, 159, 35)
HSLhsl(114, 64%, 38%)
HSVhsv(114, 78%, 62%)
CMYKcmyk(69.8%, 0%, 78%, 37.6%)
CIE-LABlab(57.60, -53.70, 51.71)
CIE-LCHlch(57.60, 74.54, 136.08°)
OKLaboklab(61.69% -0.1464 0.1158)
OKLCHoklch(61.69% 0.187 141.7)
XYZxyz(13.9197, 25.5445, 5.7868)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F23 #92239F
analogous
#6E9F23 #309F23 #239F54
triadic
#309F23 #23309F #9F2330
tetradic
#309F23 #236E9F #92239F #9F5423
square
#309F23 #236E9F #92239F #9F5423
split-complementary
#309F23 #54239F #9F236E
monochromatic
#123B0D #216D18 #309F23 #3FD12E #6DDC60

Accessibility & contrast

On white

3.44
#309F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#309F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309F23
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309F23#FFFFFF#000000##000000
##309F231.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39003
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#159A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309f23;
/* rgb */ color: rgb(48, 159, 35);
/* oklch */ color: oklch(61.7% 0.187 141.7);
Tailwind
colors: {
  custom: {
    50: '#79bc68',
    500: '#309f23',
    950: '#000000',
  },
}
SCSS
$custom: #309f23;
$custom-light: #79bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#309f23",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 113.71,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.18671,
    "h": 141.7
  },
  "luminance": 0.25546
}

Semantic roles & 50–950 ramp

primary
#309F23
secondary
#B75DC1
accent
#41E7D6
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309F23

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

Preview Lab → · Contrast checker → · Palette generator →

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