#308E25#308E25

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

Color values

HEX#308E25
RGBrgb(48, 142, 37)
HSLhsl(114, 59%, 35%)
HSVhsv(114, 74%, 56%)
CMYKcmyk(66.2%, 0%, 73.9%, 44.3%)
CIE-LABlab(51.96, -47.61, 45.36)
CIE-LCHlch(51.96, 65.76, 136.38°)
OKLaboklab(57.01% -0.1299 0.1029)
OKLCHoklch(57.01% 0.166 141.6)
XYZxyz(11.2253, 20.1068, 5.0393)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E25 #83258E
analogous
#658E25 #308E25 #258E4E
triadic
#308E25 #25308E #8E2530
tetradic
#308E25 #25658E #83258E #8E4E25
square
#308E25 #25658E #83258E #8E4E25
split-complementary
#308E25 #4E258E #8E2565
monochromatic
#0F2D0C #205D18 #308E25 #40BF32 #66D45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308E25#FFFFFF#000000##000000
##308E251.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)
#928113
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#1E8A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e25;
/* rgb */ color: rgb(48, 142, 37);
/* oklch */ color: oklch(57.0% 0.166 141.6);
Tailwind
colors: {
  custom: {
    50: '#75b066',
    500: '#308e25',
    950: '#000000',
  },
}
SCSS
$custom: #308e25;
$custom-light: #75b066;
$custom-dark: #000000;
JSON
{
  "hex": "#308e25",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 113.714,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.16568,
    "h": 141.6
  },
  "luminance": 0.20108
}

Semantic roles & 50–950 ramp

primary
#308E25
secondary
#AE56B9
accent
#46E2D2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308E25

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

Preview Lab → · Contrast checker → · Palette generator →

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