#308B25#308B25

#308B25 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.162 H 141.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#308B25
RGBrgb(48, 139, 37)
HSLhsl(114, 58%, 35%)
HSVhsv(114, 73%, 55%)
CMYKcmyk(65.5%, 0%, 73.4%, 45.5%)
CIE-LABlab(50.95, -46.52, 44.33)
CIE-LCHlch(50.95, 64.26, 136.38°)
OKLaboklab(56.18% -0.1269 0.1007)
OKLCHoklch(56.18% 0.162 141.6)
XYZxyz(10.7849, 19.2261, 4.8926)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B25 #80258B
analogous
#638B25 #308B25 #258B4D
triadic
#308B25 #25308B #8B2530
tetradic
#308B25 #25638B #80258B #8B4D25
square
#308B25 #25638B #80258B #8B4D25
split-complementary
#308B25 #4D258B #8B2563
monochromatic
#0F2A0B #1F5B18 #308B25 #41BB32 #65D358

Accessibility & contrast

On white

4.33
#308B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#308B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B25
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B25#FFFFFF#000000##000000
##308B251.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E14
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#1F8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b25;
/* rgb */ color: rgb(48, 139, 37);
/* oklch */ color: oklch(56.2% 0.162 141.6);
Tailwind
colors: {
  custom: {
    50: '#75ae66',
    500: '#308b25',
    950: '#000000',
  },
}
SCSS
$custom: #308b25;
$custom-light: #75ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#308b25",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 113.529,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5618,
    "c": 0.16203,
    "h": 141.6
  },
  "luminance": 0.19227
}

Semantic roles & 50–950 ramp

primary
#308B25
secondary
#AC55B7
accent
#47E1D1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308B25

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

Preview Lab → · Contrast checker → · Palette generator →

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