#228233#228233

#228233 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.145 H 146.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#228233
RGBrgb(34, 130, 51)
HSLhsl(131, 59%, 32%)
HSVhsv(131, 74%, 51%)
CMYKcmyk(73.8%, 0%, 60.8%, 49%)
CIE-LABlab(47.68, -44.58, 34.38)
CIE-LCHlch(47.68, 56.30, 142.36°)
OKLaboklab(53.41% -0.1203 0.0813)
OKLCHoklch(53.41% 0.145 146)
XYZxyz(9.2392, 16.5433, 5.8376)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228233 #822271
analogous
#418222 #228233 #228263
triadic
#228233 #332282 #823322
tetradic
#228233 #224182 #822271 #826322
square
#228233 #224182 #822271 #826322
split-complementary
#228233 #632282 #822241
monochromatic
#09210D #155120 #228233 #2FB346 #4ED165

Accessibility & contrast

On white

4.87
#228233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#228233 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228233
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228233#FFFFFF#000000##FFFFFF
##2282331.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762B
Deuteranopia (green-blind)
#796E39
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228233;
/* rgb */ color: rgb(34, 130, 51);
/* oklch */ color: oklch(53.4% 0.145 146.0);
Tailwind
colors: {
  custom: {
    50: '#6ca76d',
    500: '#228233',
    950: '#000000',
  },
}
SCSS
$custom: #228233;
$custom-light: #6ca76d;
$custom-dark: #000000;
JSON
{
  "hex": "#228233",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 130.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.14513,
    "h": 146
  },
  "luminance": 0.16544
}

Semantic roles & 50–950 ramp

primary
#228233
secondary
#B44CA2
accent
#46C6E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228233

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

Preview Lab → · Contrast checker → · Palette generator →

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