#308B21#308B21

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

Color values

HEX#308B21
RGBrgb(48, 139, 33)
HSLhsl(112, 62%, 34%)
HSVhsv(112, 76%, 55%)
CMYKcmyk(65.5%, 0%, 76.3%, 45.5%)
CIE-LABlab(50.92, -46.84, 45.83)
CIE-LCHlch(50.92, 65.53, 135.63°)
OKLaboklab(56.15% -0.128 0.1033)
OKLCHoklch(56.15% 0.165 141.1)
XYZxyz(10.7255, 19.2024, 4.5797)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B21 #7C218B
analogous
#658B21 #308B21 #218B47
triadic
#308B21 #21308B #8B2130
tetradic
#308B21 #21658B #7C218B #8B4721
square
#308B21 #21658B #7C218B #8B4721
split-complementary
#308B21 #47218B #8B2165
monochromatic
#0E280A #1F5A15 #308B21 #41BC2D #64D651

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308B21#FFFFFF#000000##000000
##308B211.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)
#8F7E0B
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#208677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b21;
/* rgb */ color: rgb(48, 139, 33);
/* oklch */ color: oklch(56.1% 0.165 141.1);
Tailwind
colors: {
  custom: {
    50: '#75ae64',
    500: '#308b21',
    950: '#000000',
  },
}
SCSS
$custom: #308b21;
$custom-light: #75ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#308b21",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 111.509,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56148,
    "c": 0.1645,
    "h": 141.1
  },
  "luminance": 0.19203
}

Semantic roles & 50–950 ramp

primary
#308B21
secondary
#AA4FB9
accent
#43E5CE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308B21

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

Preview Lab → · Contrast checker → · Palette generator →

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