#228451#228451

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

Color values

HEX#228451
RGBrgb(34, 132, 81)
HSLhsl(149, 59%, 33%)
HSVhsv(149, 74%, 52%)
CMYKcmyk(74.2%, 0%, 38.6%, 48.2%)
CIE-LABlab(48.80, -40.22, 19.72)
CIE-LCHlch(48.80, 44.79, 153.87°)
OKLaboklab(54.49% -0.1087 0.0494)
OKLCHoklch(54.49% 0.119 155.6)
XYZxyz(10.3952, 17.4355, 10.6005)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228451 #842255
analogous
#248422 #228451 #228482
triadic
#228451 #512284 #845122
tetradic
#228451 #222484 #842255 #848222
square
#228451 #222484 #842255 #848222
split-complementary
#228451 #822284 #842224
monochromatic
#092315 #155333 #228451 #2FB56F #4FD28E

Accessibility & contrast

On white

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

On black

4.49
#228451 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##228451#FFFFFF#000000##FFFFFF
##2284511.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83794E
Deuteranopia (green-blind)
#777054
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228451;
/* rgb */ color: rgb(34, 132, 81);
/* oklch */ color: oklch(54.5% 0.119 155.6);
Tailwind
colors: {
  custom: {
    50: '#6ca982',
    500: '#228451',
    950: '#000000',
  },
}
SCSS
$custom: #228451;
$custom-light: #6ca982;
$custom-dark: #000000;
JSON
{
  "hex": "#228451",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 148.776,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.11936,
    "h": 155.6
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#228451
secondary
#B54D83
accent
#4697E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #228451

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

Preview Lab → · Contrast checker → · Palette generator →

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