#308F25#308F25

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

Color values

HEX#308F25
RGBrgb(48, 143, 37)
HSLhsl(114, 59%, 35%)
HSVhsv(114, 74%, 56%)
CMYKcmyk(66.4%, 0%, 74.1%, 43.9%)
CIE-LABlab(52.29, -47.97, 45.70)
CIE-LCHlch(52.29, 66.25, 136.38°)
OKLaboklab(57.29% -0.1309 0.1036)
OKLCHoklch(57.29% 0.167 141.6)
XYZxyz(11.3747, 20.4057, 5.0892)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F25 #84258F
analogous
#658F25 #308F25 #258F4F
triadic
#308F25 #25308F #8F2530
tetradic
#308F25 #25658F #84258F #8F4F25
square
#308F25 #25658F #84258F #8F4F25
split-complementary
#308F25 #4F258F #8F2565
monochromatic
#0F2E0C #205E18 #308F25 #40C032 #67D45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308F25#FFFFFF#000000##000000
##308F251.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)
#938112
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#1E8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f25;
/* rgb */ color: rgb(48, 143, 37);
/* oklch */ color: oklch(57.3% 0.167 141.6);
Tailwind
colors: {
  custom: {
    50: '#76b167',
    500: '#308f25',
    950: '#000000',
  },
}
SCSS
$custom: #308f25;
$custom-light: #76b167;
$custom-dark: #000000;
JSON
{
  "hex": "#308f25",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 113.774,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.16689,
    "h": 141.6
  },
  "luminance": 0.20407
}

Semantic roles & 50–950 ramp

primary
#308F25
secondary
#AF57B9
accent
#46E2D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308F25

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

Preview Lab → · Contrast checker → · Palette generator →

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