#228438#228438

#228438 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.143 H 147.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#228438
RGBrgb(34, 132, 56)
HSLhsl(133, 59%, 33%)
HSVhsv(133, 74%, 52%)
CMYKcmyk(74.2%, 0%, 57.6%, 48.2%)
CIE-LABlab(48.42, -44.62, 32.75)
CIE-LCHlch(48.42, 55.35, 143.73°)
OKLaboklab(54.05% -0.1202 0.0781)
OKLCHoklch(54.05% 0.143 147)
XYZxyz(9.6241, 17.1270, 6.5393)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228438 #84226E
analogous
#3D8422 #228438 #228469
triadic
#228438 #382284 #843822
tetradic
#228438 #223D84 #84226E #846922
square
#228438 #223D84 #84226E #846922
split-complementary
#228438 #692284 #84223D
monochromatic
#09230F #155323 #228438 #2FB54D #4FD26C

Accessibility & contrast

On white

4.75
#228438 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#228438 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228438
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228438#FFFFFF#000000##FFFFFF
##2284381.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867831
Deuteranopia (green-blind)
#7A703E
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228438;
/* rgb */ color: rgb(34, 132, 56);
/* oklch */ color: oklch(54.0% 0.143 147.0);
Tailwind
colors: {
  custom: {
    50: '#6da971',
    500: '#228438',
    950: '#000000',
  },
}
SCSS
$custom: #228438;
$custom-light: #6da971;
$custom-dark: #000000;
JSON
{
  "hex": "#228438",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 56
  },
  "hsl": {
    "h": 133.469,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.14336,
    "h": 147
  },
  "luminance": 0.17128
}

Semantic roles & 50–950 ramp

primary
#228438
secondary
#B54D9E
accent
#46BFE2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228438

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

Preview Lab → · Contrast checker → · Palette generator →

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