#308639#308639

#308639 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.140 H 145.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#308639
RGBrgb(48, 134, 57)
HSLhsl(126, 47%, 36%)
HSVhsv(126, 64%, 53%)
CMYKcmyk(64.2%, 0%, 57.5%, 47.5%)
CIE-LABlab(49.46, -42.39, 33.57)
CIE-LCHlch(49.46, 54.08, 141.63°)
OKLaboklab(55.01% -0.1148 0.0799)
OKLCHoklch(55.01% 0.14 145.1)
XYZxyz(10.4819, 17.9730, 6.7868)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308639 #86307D
analogous
#528630 #308639 #308664
triadic
#308639 #393086 #863930
tetradic
#308639 #305286 #86307D #866430
square
#308639 #305286 #86307D #866430
split-complementary
#308639 #643086 #863052
monochromatic
#102C13 #205926 #308639 #40B34C #68C972

Accessibility & contrast

On white

4.57
#308639 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#308639 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308639
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308639#FFFFFF#000000##000000
##3086391.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A32
Deuteranopia (green-blind)
#7D733F
Tritanopia (blue-blind)
#1C8375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #308639;
/* rgb */ color: rgb(48, 134, 57);
/* oklch */ color: oklch(55.0% 0.140 145.1);
Tailwind
colors: {
  custom: {
    50: '#73aa72',
    500: '#308639',
    950: '#000000',
  },
}
SCSS
$custom: #308639;
$custom-light: #73aa72;
$custom-dark: #000000;
JSON
{
  "hex": "#308639",
  "rgb": {
    "r": 48,
    "g": 134,
    "b": 57
  },
  "hsl": {
    "h": 126.279,
    "s": 47.253,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.13985,
    "h": 145.1
  },
  "luminance": 0.17974
}

Semantic roles & 50–950 ramp

primary
#308639
secondary
#B062A8
accent
#51C9D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308639

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

Preview Lab → · Contrast checker → · Palette generator →

#308639 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva