#308E23#308E23

#308E23 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.167 H 141.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#308E23
RGBrgb(48, 142, 35)
HSLhsl(113, 60%, 35%)
HSVhsv(113, 75%, 56%)
CMYKcmyk(66.2%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.94, -47.77, 46.11)
CIE-LCHlch(51.94, 66.39, 136.01°)
OKLaboklab(57% -0.1304 0.1042)
OKLCHoklch(57% 0.167 141.4)
XYZxyz(11.1947, 20.0946, 4.8785)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E23 #81238E
analogous
#668E23 #308E23 #238E4B
triadic
#308E23 #23308E #8E2330
tetradic
#308E23 #23668E #81238E #8E4B23
square
#308E23 #23668E #81238E #8E4B23
split-complementary
#308E23 #4B238E #8E2366
monochromatic
#0F2C0B #1F5D17 #308E23 #41BF2F #66D556

Accessibility & contrast

On white

4.18
#308E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#308E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E23
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E23#FFFFFF#000000##000000
##308E231.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#1F8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e23;
/* rgb */ color: rgb(48, 142, 35);
/* oklch */ color: oklch(57.0% 0.167 141.4);
Tailwind
colors: {
  custom: {
    50: '#75b065',
    500: '#308e23',
    950: '#000000',
  },
}
SCSS
$custom: #308e23;
$custom-light: #75b065;
$custom-dark: #000000;
JSON
{
  "hex": "#308e23",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 112.71,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.16692,
    "h": 141.4
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#308E23
secondary
#AD53B9
accent
#44E4D0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308E23

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

Preview Lab → · Contrast checker → · Palette generator →

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