#308B2B#308B2B

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

Color values

HEX#308B2B
RGBrgb(48, 139, 43)
HSLhsl(117, 53%, 36%)
HSVhsv(117, 69%, 55%)
CMYKcmyk(65.5%, 0%, 69.1%, 45.5%)
CIE-LABlab(51.00, -45.96, 41.90)
CIE-LCHlch(51.00, 62.19, 137.65°)
OKLaboklab(56.23% -0.1251 0.0964)
OKLCHoklch(56.23% 0.158 142.4)
XYZxyz(10.8870, 19.2670, 5.4302)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B2B #862B8B
analogous
#608B2B #308B2B #2B8B56
triadic
#308B2B #2B308B #8B2B30
tetradic
#308B2B #2B608B #862B8B #8B562B
square
#308B2B #2B608B #862B8B #8B562B
split-complementary
#308B2B #562B8B #8B2B60
monochromatic
#102E0E #205C1D #308B2B #40BA39 #68CE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308B2B#FFFFFF#000000##000000
##308B2B1.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)
#8E7E1E
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#1E8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b2b;
/* rgb */ color: rgb(48, 139, 43);
/* oklch */ color: oklch(56.2% 0.158 142.4);
Tailwind
colors: {
  custom: {
    50: '#74ae69',
    500: '#308b2b',
    950: '#000000',
  },
}
SCSS
$custom: #308b2b;
$custom-light: #74ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#308b2b",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 116.875,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.15791,
    "h": 142.4
  },
  "luminance": 0.19268
}

Semantic roles & 50–950 ramp

primary
#308B2B
secondary
#B05DB5
accent
#4CDCD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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