#309837#309837

#309837 is a mid, vivid green. Relative luminance 0.234; OKLCH L 59.9% C 0.165 H 144.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#309837
RGBrgb(48, 152, 55)
HSLhsl(124, 52%, 39%)
HSVhsv(124, 68%, 60%)
CMYKcmyk(68.4%, 0%, 63.8%, 40.4%)
CIE-LABlab(55.44, -49.42, 41.44)
CIE-LCHlch(55.44, 64.50, 140.02°)
OKLaboklab(59.95% -0.1339 0.0968)
OKLCHoklch(59.95% 0.165 144.1)
XYZxyz(13.1359, 23.3593, 7.4302)
Luminance0.2336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309837 #983091
analogous
#5D9830 #309837 #30986B
triadic
#309837 #373098 #983730
tetradic
#309837 #305D98 #983091 #986B30
square
#309837 #305D98 #983091 #986B30
split-complementary
#309837 #6B3098 #98305D
monochromatic
#133B15 #216926 #309837 #42C34B #70D277

Accessibility & contrast

On white

3.70
#309837 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#309837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309837
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309837#FFFFFF#000000##000000
##3098371.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2C
Deuteranopia (green-blind)
#8E813F
Tritanopia (blue-blind)
#129483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #309837;
/* rgb */ color: rgb(48, 152, 55);
/* oklch */ color: oklch(59.9% 0.165 144.1);
Tailwind
colors: {
  custom: {
    50: '#77b772',
    500: '#309837',
    950: '#000000',
  },
}
SCSS
$custom: #309837;
$custom-light: #77b772;
$custom-dark: #000000;
JSON
{
  "hex": "#309837",
  "rgb": {
    "r": 48,
    "g": 152,
    "b": 55
  },
  "hsl": {
    "h": 124.038,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59945,
    "c": 0.16516,
    "h": 144.1
  },
  "luminance": 0.23361
}

Semantic roles & 50–950 ramp

primary
#309837
secondary
#BA6AB4
accent
#4CD2DB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #309837

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

Preview Lab → · Contrast checker → · Palette generator →

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