#309227#309227

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

Color values

HEX#309227
RGBrgb(48, 146, 39)
HSLhsl(115, 58%, 36%)
HSVhsv(115, 73%, 57%)
CMYKcmyk(67.1%, 0%, 73.3%, 42.7%)
CIE-LABlab(53.31, -48.87, 45.97)
CIE-LCHlch(53.31, 67.10, 136.75°)
OKLaboklab(58.14% -0.1332 0.1044)
OKLCHoklch(58.14% 0.169 141.9)
XYZxyz(11.8634, 21.3314, 5.4112)
Luminance0.2133 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309227 #892792
analogous
#669227 #309227 #279254
triadic
#309227 #273092 #922730
tetradic
#309227 #276692 #892792 #925427
square
#309227 #276692 #892792 #925427
split-complementary
#309227 #542792 #922766
monochromatic
#10310D #20621A #309227 #40C234 #69D45F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309227#FFFFFF#000000##000000
##3092271.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)
#968415
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#1C8D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #309227;
/* rgb */ color: rgb(48, 146, 39);
/* oklch */ color: oklch(58.1% 0.169 141.9);
Tailwind
colors: {
  custom: {
    50: '#76b368',
    500: '#309227',
    950: '#000000',
  },
}
SCSS
$custom: #309227;
$custom-light: #76b368;
$custom-dark: #000000;
JSON
{
  "hex": "#309227",
  "rgb": {
    "r": 48,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 114.953,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58138,
    "c": 0.16924,
    "h": 141.9
  },
  "luminance": 0.21333
}

Semantic roles & 50–950 ramp

primary
#309227
secondary
#B25BBA
accent
#47E1D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #309227

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

Preview Lab → · Contrast checker → · Palette generator →

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