#228535#228535

#228535 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.147 H 146.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#228535
RGBrgb(34, 133, 53)
HSLhsl(132, 59%, 33%)
HSVhsv(132, 74%, 52%)
CMYKcmyk(74.4%, 0%, 60.2%, 47.8%)
CIE-LABlab(48.72, -45.41, 34.61)
CIE-LCHlch(48.72, 57.10, 142.69°)
OKLaboklab(54.29% -0.1224 0.0819)
OKLCHoklch(54.29% 0.147 146.2)
XYZxyz(9.6891, 17.3711, 6.2098)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228535 #852272
analogous
#418522 #228535 #228566
triadic
#228535 #352285 #853522
tetradic
#228535 #224185 #852272 #856622
square
#228535 #224185 #852272 #856622
split-complementary
#228535 #662285 #852241
monochromatic
#09240E #165422 #228535 #2EB648 #4FD268

Accessibility & contrast

On white

4.69
#228535 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#228535 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228535
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228535#FFFFFF#000000##FFFFFF
##2285351.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792D
Deuteranopia (green-blind)
#7B713B
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228535;
/* rgb */ color: rgb(34, 133, 53);
/* oklch */ color: oklch(54.3% 0.147 146.2);
Tailwind
colors: {
  custom: {
    50: '#6da96f',
    500: '#228535',
    950: '#000000',
  },
}
SCSS
$custom: #228535;
$custom-light: #6da96f;
$custom-dark: #000000;
JSON
{
  "hex": "#228535",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 53
  },
  "hsl": {
    "h": 131.515,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.14732,
    "h": 146.2
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#228535
secondary
#B64DA2
accent
#45C4E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228535

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

Preview Lab → · Contrast checker → · Palette generator →

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