#228633#228633

#228633 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.150 H 145.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#228633
RGBrgb(34, 134, 51)
HSLhsl(130, 60%, 33%)
HSVhsv(130, 75%, 53%)
CMYKcmyk(74.6%, 0%, 61.9%, 47.5%)
CIE-LABlab(49.04, -46.04, 35.96)
CIE-LCHlch(49.04, 58.42, 142.01°)
OKLaboklab(54.54% -0.1242 0.0847)
OKLCHoklch(54.54% 0.15 145.7)
XYZxyz(9.7816, 17.6282, 6.0184)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228633 #862275
analogous
#438622 #228633 #228665
triadic
#228633 #332286 #863322
tetradic
#228633 #224386 #862275 #866522
square
#228633 #224386 #862275 #866522
split-complementary
#228633 #652286 #862243
monochromatic
#09240E #165520 #228633 #2EB746 #50D366

Accessibility & contrast

On white

4.64
#228633 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#228633 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228633
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228633#FFFFFF#000000##FFFFFF
##2286331.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88792A
Deuteranopia (green-blind)
#7D713A
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228633;
/* rgb */ color: rgb(34, 134, 51);
/* oklch */ color: oklch(54.5% 0.150 145.7);
Tailwind
colors: {
  custom: {
    50: '#6daa6e',
    500: '#228633',
    950: '#000000',
  },
}
SCSS
$custom: #228633;
$custom-light: #6daa6e;
$custom-dark: #000000;
JSON
{
  "hex": "#228633",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 51
  },
  "hsl": {
    "h": 130.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.15032,
    "h": 145.7
  },
  "luminance": 0.17629
}

Semantic roles & 50–950 ramp

primary
#228633
secondary
#B64EA4
accent
#45C8E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228633

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

Preview Lab → · Contrast checker → · Palette generator →

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