#228334#228334

#228334 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.146 H 146.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#228334
RGBrgb(34, 131, 52)
HSLhsl(131, 59%, 32%)
HSVhsv(131, 74%, 51%)
CMYKcmyk(74%, 0%, 60.3%, 48.6%)
CIE-LABlab(48.03, -44.81, 34.29)
CIE-LCHlch(48.03, 56.43, 142.57°)
OKLaboklab(53.71% -0.1209 0.0812)
OKLCHoklch(53.71% 0.146 146.1)
XYZxyz(9.3952, 16.8196, 5.9995)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228334 #832271
analogous
#418322 #228334 #228365
triadic
#228334 #342283 #833422
tetradic
#228334 #224183 #832271 #836522
square
#228334 #224183 #832271 #836522
split-complementary
#228334 #652283 #832241
monochromatic
#09220D #155221 #228334 #2FB447 #4ED167

Accessibility & contrast

On white

4.81
#228334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#228334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228334
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228334#FFFFFF#000000##FFFFFF
##2283341.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772C
Deuteranopia (green-blind)
#7A6F3A
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228334;
/* rgb */ color: rgb(34, 131, 52);
/* oklch */ color: oklch(53.7% 0.146 146.1);
Tailwind
colors: {
  custom: {
    50: '#6ca86e',
    500: '#228334',
    950: '#000000',
  },
}
SCSS
$custom: #228334;
$custom-light: #6ca86e;
$custom-dark: #000000;
JSON
{
  "hex": "#228334",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 131.134,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.14558,
    "h": 146.1
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228334

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

Preview Lab → · Contrast checker → · Palette generator →

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