#308D25#308D25

#308D25 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.164 H 141.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#308D25
RGBrgb(48, 141, 37)
HSLhsl(114, 58%, 35%)
HSVhsv(114, 74%, 55%)
CMYKcmyk(66%, 0%, 73.8%, 44.7%)
CIE-LABlab(51.62, -47.25, 45.02)
CIE-LCHlch(51.62, 65.26, 136.38°)
OKLaboklab(56.74% -0.1289 0.1021)
OKLCHoklch(56.74% 0.164 141.6)
XYZxyz(11.0771, 19.8106, 4.9900)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D25 #82258D
analogous
#648D25 #308D25 #258D4E
triadic
#308D25 #25308D #8D2530
tetradic
#308D25 #25648D #82258D #8D4E25
square
#308D25 #25648D #82258D #8D4E25
split-complementary
#308D25 #4E258D #8D2564
monochromatic
#0F2C0C #1F5D18 #308D25 #41BD32 #66D359

Accessibility & contrast

On white

4.23
#308D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#308D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D25
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D25#FFFFFF#000000##000000
##308D251.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#1F8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d25;
/* rgb */ color: rgb(48, 141, 37);
/* oklch */ color: oklch(56.7% 0.164 141.6);
Tailwind
colors: {
  custom: {
    50: '#75af66',
    500: '#308d25',
    950: '#000000',
  },
}
SCSS
$custom: #308d25;
$custom-light: #75af66;
$custom-dark: #000000;
JSON
{
  "hex": "#308d25",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 113.654,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56736,
    "c": 0.16447,
    "h": 141.6
  },
  "luminance": 0.19812
}

Semantic roles & 50–950 ramp

primary
#308D25
secondary
#AE56B8
accent
#46E2D1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308D25

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

Preview Lab → · Contrast checker → · Palette generator →

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