#308339#308339

#308339 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.136 H 145.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#308339
RGBrgb(48, 131, 57)
HSLhsl(127, 46%, 35%)
HSVhsv(127, 63%, 51%)
CMYKcmyk(63.4%, 0%, 56.5%, 48.6%)
CIE-LABlab(48.46, -41.21, 32.37)
CIE-LCHlch(48.46, 52.40, 141.85°)
OKLaboklab(54.18% -0.1115 0.0773)
OKLCHoklch(54.18% 0.136 145.3)
XYZxyz(10.0731, 17.1554, 6.6506)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308339 #83307A
analogous
#508330 #308339 #308362
triadic
#308339 #393083 #833930
tetradic
#308339 #305083 #83307A #836230
square
#308339 #305083 #83307A #836230
split-complementary
#308339 #623083 #833050
monochromatic
#0F2912 #205626 #308339 #40B04C #66C771

Accessibility & contrast

On white

4.74
#308339 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#308339 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308339
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308339#FFFFFF#000000##FFFFFF
##3083391.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857732
Deuteranopia (green-blind)
#7B703F
Tritanopia (blue-blind)
#1D8072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308339;
/* rgb */ color: rgb(48, 131, 57);
/* oklch */ color: oklch(54.2% 0.136 145.3);
Tailwind
colors: {
  custom: {
    50: '#72a871',
    500: '#308339',
    950: '#000000',
  },
}
SCSS
$custom: #308339;
$custom-light: #72a871;
$custom-dark: #000000;
JSON
{
  "hex": "#308339",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 126.506,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.13571,
    "h": 145.3
  },
  "luminance": 0.17156
}

Semantic roles & 50–950 ramp

primary
#308339
secondary
#AE61A6
accent
#52C8D6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308339

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

Preview Lab → · Contrast checker → · Palette generator →

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