#228534#228534

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

Color values

HEX#228534
RGBrgb(34, 133, 52)
HSLhsl(131, 59%, 33%)
HSVhsv(131, 74%, 52%)
CMYKcmyk(74.4%, 0%, 60.9%, 47.8%)
CIE-LABlab(48.71, -45.55, 35.09)
CIE-LCHlch(48.71, 57.50, 142.39°)
OKLaboklab(54.27% -0.1228 0.0829)
OKLCHoklch(54.27% 0.148 146)
XYZxyz(9.6664, 17.3620, 6.0899)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228534 #852273
analogous
#428522 #228534 #228565
triadic
#228534 #342285 #853422
tetradic
#228534 #224285 #852273 #856522
square
#228534 #224285 #852273 #856522
split-complementary
#228534 #652285 #852242
monochromatic
#09240E #165421 #228534 #2EB647 #4FD267

Accessibility & contrast

On white

4.70
#228534 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #228534
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228534#FFFFFF#000000##FFFFFF
##2285341.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792C
Deuteranopia (green-blind)
#7C713B
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228534;
/* rgb */ color: rgb(34, 133, 52);
/* oklch */ color: oklch(54.3% 0.148 146.0);
Tailwind
colors: {
  custom: {
    50: '#6da96e',
    500: '#228534',
    950: '#000000',
  },
}
SCSS
$custom: #228534;
$custom-light: #6da96e;
$custom-dark: #000000;
JSON
{
  "hex": "#228534",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 52
  },
  "hsl": {
    "h": 130.909,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54272,
    "c": 0.14818,
    "h": 146
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#228534
secondary
#B64DA3
accent
#45C6E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228534

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

Preview Lab → · Contrast checker → · Palette generator →

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