#309257#309257

#309257 is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.8% C 0.128 H 153.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#309257
RGBrgb(48, 146, 87)
HSLhsl(144, 51%, 38%)
HSVhsv(144, 67%, 57%)
CMYKcmyk(67.1%, 0%, 40.4%, 42.7%)
CIE-LABlab(53.89, -42.22, 23.20)
CIE-LCHlch(53.89, 48.17, 151.21°)
OKLaboklab(58.81% -0.1141 0.0578)
OKLCHoklch(58.81% 0.128 153.1)
XYZxyz(13.2170, 21.8729, 12.5403)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309257 #92306B
analogous
#3A9230 #309257 #309288
triadic
#309257 #573092 #925730
tetradic
#309257 #303A92 #92306B #928830
square
#309257 #303A92 #92306B #928830
split-complementary
#309257 #883092 #92303A
monochromatic
#123620 #21643C #309257 #3FC072 #6DCF94

Accessibility & contrast

On white

3.91
#309257 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#309257 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309257
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309257#FFFFFF#000000##000000
##3092571.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928653
Deuteranopia (green-blind)
#867D5B
Tritanopia (blue-blind)
#009083
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #309257;
/* rgb */ color: rgb(48, 146, 87);
/* oklch */ color: oklch(58.8% 0.128 153.1);
Tailwind
colors: {
  custom: {
    50: '#74b387',
    500: '#309257',
    950: '#000000',
  },
}
SCSS
$custom: #309257;
$custom-light: #74b387;
$custom-dark: #000000;
JSON
{
  "hex": "#309257",
  "rgb": {
    "r": 48,
    "g": 146,
    "b": 87
  },
  "hsl": {
    "h": 143.878,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58807,
    "c": 0.12786,
    "h": 153.1
  },
  "luminance": 0.21874
}

Semantic roles & 50–950 ramp

primary
#309257
secondary
#B76797
accent
#4EA2DA
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #309257

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

Preview Lab → · Contrast checker → · Palette generator →

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