#228434#228434

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

Color values

HEX#228434
RGBrgb(34, 132, 52)
HSLhsl(131, 59%, 33%)
HSVhsv(131, 74%, 52%)
CMYKcmyk(74.2%, 0%, 60.6%, 48.2%)
CIE-LABlab(48.37, -45.18, 34.69)
CIE-LCHlch(48.37, 56.96, 142.48°)
OKLaboklab(53.99% -0.1218 0.082)
OKLCHoklch(53.99% 0.147 146.1)
XYZxyz(9.5301, 17.0895, 6.0445)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228434 #842272
analogous
#418422 #228434 #228465
triadic
#228434 #342284 #843422
tetradic
#228434 #224184 #842272 #846522
square
#228434 #224184 #842272 #846522
split-complementary
#228434 #652284 #842241
monochromatic
#09230E #155321 #228434 #2FB547 #4FD267

Accessibility & contrast

On white

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

On black

4.42
#228434 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##228434#FFFFFF#000000##FFFFFF
##2284341.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86782C
Deuteranopia (green-blind)
#7B703A
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228434;
/* rgb */ color: rgb(34, 132, 52);
/* oklch */ color: oklch(54.0% 0.147 146.1);
Tailwind
colors: {
  custom: {
    50: '#6da96e',
    500: '#228434',
    950: '#000000',
  },
}
SCSS
$custom: #228434;
$custom-light: #6da96e;
$custom-dark: #000000;
JSON
{
  "hex": "#228434",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 52
  },
  "hsl": {
    "h": 131.02,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5399,
    "c": 0.14688,
    "h": 146.1
  },
  "luminance": 0.17091
}

Semantic roles & 50–950 ramp

primary
#228434
secondary
#B54DA2
accent
#46C5E2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228434

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

Preview Lab → · Contrast checker → · Palette generator →

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