#229251#229251

#229251 is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.3% C 0.139 H 152.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#229251
RGBrgb(34, 146, 81)
HSLhsl(145, 62%, 35%)
HSVhsv(145, 77%, 57%)
CMYKcmyk(76.7%, 0%, 44.5%, 42.7%)
CIE-LABlab(53.48, -45.75, 25.88)
CIE-LCHlch(53.48, 52.56, 150.51°)
OKLaboklab(58.35% -0.1231 0.0639)
OKLCHoklch(58.35% 0.139 152.6)
XYZxyz(12.4227, 21.4905, 11.2764)
Luminance0.2149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229251 #922263
analogous
#2B9222 #229251 #229289
triadic
#229251 #512292 #925122
tetradic
#229251 #222B92 #922263 #928922
square
#229251 #222B92 #922263 #928922
split-complementary
#229251 #892292 #92222B
monochromatic
#0B2F1A #166035 #229251 #2EC46D #57D88D

Accessibility & contrast

On white

3.96
#229251 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#229251 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229251
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229251#FFFFFF#000000##000000
##2292511.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92854C
Deuteranopia (green-blind)
#857C55
Tritanopia (blue-blind)
#009082
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #229251;
/* rgb */ color: rgb(34, 146, 81);
/* oklch */ color: oklch(58.3% 0.139 152.6);
Tailwind
colors: {
  custom: {
    50: '#6fb382',
    500: '#229251',
    950: '#000000',
  },
}
SCSS
$custom: #229251;
$custom-light: #6fb382;
$custom-dark: #000000;
JSON
{
  "hex": "#229251",
  "rgb": {
    "r": 34,
    "g": 146,
    "b": 81
  },
  "hsl": {
    "h": 145.179,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58348,
    "c": 0.13868,
    "h": 152.6
  },
  "luminance": 0.21492
}

Semantic roles & 50–950 ramp

primary
#229251
secondary
#BC5490
accent
#43A1E5
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #229251

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

Preview Lab → · Contrast checker → · Palette generator →

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