#228450#228450

#228450 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.120 H 155.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#228450
RGBrgb(34, 132, 80)
HSLhsl(148, 59%, 33%)
HSVhsv(148, 74%, 52%)
CMYKcmyk(74.2%, 0%, 39.4%, 48.2%)
CIE-LABlab(48.79, -40.42, 20.26)
CIE-LCHlch(48.79, 45.22, 153.38°)
OKLaboklab(54.47% -0.1092 0.0506)
OKLCHoklch(54.47% 0.12 155.1)
XYZxyz(10.3580, 17.4206, 10.4045)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228450 #842256
analogous
#258422 #228450 #228481
triadic
#228450 #502284 #845022
tetradic
#228450 #222584 #842256 #848122
square
#228450 #222584 #842256 #848122
split-complementary
#228450 #812284 #842225
monochromatic
#092315 #155333 #228450 #2FB56D #4FD28C

Accessibility & contrast

On white

4.68
#228450 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#228450 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228450
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228450#FFFFFF#000000##FFFFFF
##2284501.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84794C
Deuteranopia (green-blind)
#787053
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228450;
/* rgb */ color: rgb(34, 132, 80);
/* oklch */ color: oklch(54.5% 0.120 155.1);
Tailwind
colors: {
  custom: {
    50: '#6ca981',
    500: '#228450',
    950: '#000000',
  },
}
SCSS
$custom: #228450;
$custom-light: #6ca981;
$custom-dark: #000000;
JSON
{
  "hex": "#228450",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 80
  },
  "hsl": {
    "h": 148.163,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.12033,
    "h": 155.1
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#228450
secondary
#B54D84
accent
#4699E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #228450

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

Preview Lab → · Contrast checker → · Palette generator →

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