#228623#228623

#228623 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.162 H 143.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#228623
RGBrgb(34, 134, 35)
HSLhsl(121, 60%, 33%)
HSVhsv(121, 75%, 53%)
CMYKcmyk(74.6%, 0%, 73.9%, 47.5%)
CIE-LABlab(48.90, -47.79, 42.90)
CIE-LCHlch(48.90, 64.22, 138.09°)
OKLaboklab(54.37% -0.1297 0.0975)
OKLCHoklch(54.37% 0.162 143.1)
XYZxyz(9.4876, 17.5106, 4.4696)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228623 #862285
analogous
#538622 #228623 #228655
triadic
#228623 #232286 #862322
tetradic
#228623 #225386 #862285 #865522
square
#228623 #225386 #862285 #865522
split-complementary
#228623 #552286 #862253
monochromatic
#092409 #165516 #228623 #2EB730 #50D351

Accessibility & contrast

On white

4.66
#228623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#228623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228623
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228623#FFFFFF#000000##FFFFFF
##2286231.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#7E712D
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228623;
/* rgb */ color: rgb(34, 134, 35);
/* oklch */ color: oklch(54.4% 0.162 143.1);
Tailwind
colors: {
  custom: {
    50: '#6eaa64',
    500: '#228623',
    950: '#000000',
  },
}
SCSS
$custom: #228623;
$custom-light: #6eaa64;
$custom-dark: #000000;
JSON
{
  "hex": "#228623",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 120.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54374,
    "c": 0.16227,
    "h": 143.1
  },
  "luminance": 0.17512
}

Semantic roles & 50–950 ramp

primary
#228623
secondary
#B64EB5
accent
#45E1E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228623

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

Preview Lab → · Contrast checker → · Palette generator →

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