#308C25#308C25

#308C25 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.163 H 141.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#308C25
RGBrgb(48, 140, 37)
HSLhsl(114, 58%, 35%)
HSVhsv(114, 74%, 55%)
CMYKcmyk(65.7%, 0%, 73.6%, 45.1%)
CIE-LABlab(51.29, -46.88, 44.67)
CIE-LCHlch(51.29, 64.76, 136.38°)
OKLaboklab(56.46% -0.1279 0.1014)
OKLCHoklch(56.46% 0.163 141.6)
XYZxyz(10.9304, 19.5170, 4.9410)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C25 #81258C
analogous
#648C25 #308C25 #258C4D
triadic
#308C25 #25308C #8C2530
tetradic
#308C25 #25648C #81258C #8C4D25
square
#308C25 #25648C #81258C #8C4D25
split-complementary
#308C25 #4D258C #8C2564
monochromatic
#0F2B0B #1F5C18 #308C25 #41BC32 #66D358

Accessibility & contrast

On white

4.28
#308C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#308C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C25
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C25#FFFFFF#000000##000000
##308C251.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F13
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#1F8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c25;
/* rgb */ color: rgb(48, 140, 37);
/* oklch */ color: oklch(56.5% 0.163 141.6);
Tailwind
colors: {
  custom: {
    50: '#75ae66',
    500: '#308c25',
    950: '#000000',
  },
}
SCSS
$custom: #308c25;
$custom-light: #75ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#308c25",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 113.592,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.16325,
    "h": 141.6
  },
  "luminance": 0.19518
}

Semantic roles & 50–950 ramp

primary
#308C25
secondary
#AD55B8
accent
#46E1D1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308C25

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

Preview Lab → · Contrast checker → · Palette generator →

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