#308B28#308B28

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

Color values

HEX#308B28
RGBrgb(48, 139, 40)
HSLhsl(115, 55%, 35%)
HSVhsv(115, 71%, 55%)
CMYKcmyk(65.5%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.97, -46.25, 43.14)
CIE-LCHlch(50.97, 63.24, 136.99°)
OKLaboklab(56.21% -0.126 0.0986)
OKLCHoklch(56.21% 0.16 142)
XYZxyz(10.8340, 19.2457, 5.1509)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B28 #83288B
analogous
#618B28 #308B28 #288B52
triadic
#308B28 #28308B #8B2830
tetradic
#308B28 #28618B #83288B #8B5228
square
#308B28 #28618B #83288B #8B5228
split-complementary
#308B28 #52288B #8B2861
monochromatic
#0F2C0D #205B1A #308B28 #40BB36 #66D05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308B28#FFFFFF#000000##000000
##308B281.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)
#8E7E19
Deuteranopia (green-blind)
#837731
Tritanopia (blue-blind)
#1F8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b28;
/* rgb */ color: rgb(48, 139, 40);
/* oklch */ color: oklch(56.2% 0.160 142.0);
Tailwind
colors: {
  custom: {
    50: '#75ae68',
    500: '#308b28',
    950: '#000000',
  },
}
SCSS
$custom: #308b28;
$custom-light: #75ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#308b28",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 115.152,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.16003,
    "h": 142
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#308B28
secondary
#AE59B6
accent
#49DFD3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308B28

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

Preview Lab → · Contrast checker → · Palette generator →

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