#308B20#308B20

#308B20 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.165 H 141.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#308B20
RGBrgb(48, 139, 32)
HSLhsl(111, 63%, 34%)
HSVhsv(111, 77%, 55%)
CMYKcmyk(65.5%, 0%, 77%, 45.5%)
CIE-LABlab(50.92, -46.92, 46.19)
CIE-LCHlch(50.92, 65.84, 135.45°)
OKLaboklab(56.14% -0.1283 0.1039)
OKLCHoklch(56.14% 0.165 141)
XYZxyz(10.7117, 19.1968, 4.5071)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B20 #7B208B
analogous
#658B20 #308B20 #208B45
triadic
#308B20 #20308B #8B2030
tetradic
#308B20 #20658B #7B208B #8B4520
square
#308B20 #20658B #7B208B #8B4520
split-complementary
#308B20 #45208B #8B2065
monochromatic
#0E2809 #1F5915 #308B20 #41BD2B #63D64F

Accessibility & contrast

On white

4.34
#308B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#308B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B20
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B20#FFFFFF#000000##000000
##308B201.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#208677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b20;
/* rgb */ color: rgb(48, 139, 32);
/* oklch */ color: oklch(56.1% 0.165 141.0);
Tailwind
colors: {
  custom: {
    50: '#75ae63',
    500: '#308b20',
    950: '#000000',
  },
}
SCSS
$custom: #308b20;
$custom-light: #75ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#308b20",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 111.028,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.16509,
    "h": 141
  },
  "luminance": 0.19198
}

Semantic roles & 50–950 ramp

primary
#308B20
secondary
#A94DBA
accent
#42E6CD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308B20

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

Preview Lab → · Contrast checker → · Palette generator →

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