#309228#309228

#309228 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.1% C 0.169 H 142.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#309228
RGBrgb(48, 146, 40)
HSLhsl(115, 57%, 36%)
HSVhsv(115, 73%, 57%)
CMYKcmyk(67.1%, 0%, 72.6%, 42.7%)
CIE-LABlab(53.32, -48.79, 45.58)
CIE-LCHlch(53.32, 66.77, 136.94°)
OKLaboklab(58.15% -0.1329 0.1037)
OKLCHoklch(58.15% 0.169 142)
XYZxyz(11.8802, 21.3381, 5.4997)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309228 #8A2892
analogous
#659228 #309228 #289255
triadic
#309228 #283092 #922830
tetradic
#309228 #286592 #8A2892 #925528
square
#309228 #286592 #8A2892 #925528
split-complementary
#309228 #552892 #922865
monochromatic
#10320E #20621B #309228 #40C235 #69D461

Accessibility & contrast

On white

3.99
#309228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#309228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309228
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309228#FFFFFF#000000##000000
##3092281.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#1B8D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #309228;
/* rgb */ color: rgb(48, 146, 40);
/* oklch */ color: oklch(58.1% 0.169 142.0);
Tailwind
colors: {
  custom: {
    50: '#76b368',
    500: '#309228',
    950: '#000000',
  },
}
SCSS
$custom: #309228;
$custom-light: #76b368;
$custom-dark: #000000;
JSON
{
  "hex": "#309228",
  "rgb": {
    "r": 48,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 115.472,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58146,
    "c": 0.16859,
    "h": 142
  },
  "luminance": 0.21339
}

Semantic roles & 50–950 ramp

primary
#309228
secondary
#B25DB9
accent
#48E0D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #309228

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

Preview Lab → · Contrast checker → · Palette generator →

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