#228630#228630

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

Color values

HEX#228630
RGBrgb(34, 134, 48)
HSLhsl(128, 60%, 33%)
HSVhsv(128, 75%, 53%)
CMYKcmyk(74.6%, 0%, 64.2%, 47.5%)
CIE-LABlab(49.01, -46.42, 37.35)
CIE-LCHlch(49.01, 59.58, 141.18°)
OKLaboklab(54.51% -0.1253 0.0874)
OKLCHoklch(54.51% 0.153 145.1)
XYZxyz(9.7176, 17.6026, 5.6812)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228630 #862278
analogous
#468622 #228630 #228662
triadic
#228630 #302286 #863022
tetradic
#228630 #224686 #862278 #866222
square
#228630 #224686 #862278 #866222
split-complementary
#228630 #622286 #862246
monochromatic
#09240D #16551F #228630 #2EB741 #50D362

Accessibility & contrast

On white

4.65
#228630 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#228630 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228630
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228630#FFFFFF#000000##FFFFFF
##2286301.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#7D7137
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228630;
/* rgb */ color: rgb(34, 134, 48);
/* oklch */ color: oklch(54.5% 0.153 145.1);
Tailwind
colors: {
  custom: {
    50: '#6daa6c',
    500: '#228630',
    950: '#000000',
  },
}
SCSS
$custom: #228630;
$custom-light: #6daa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#228630",
  "rgb": {
    "r": 34,
    "g": 134,
    "b": 48
  },
  "hsl": {
    "h": 128.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54505,
    "c": 0.15279,
    "h": 145.1
  },
  "luminance": 0.17604
}

Semantic roles & 50–950 ramp

primary
#228630
secondary
#B64EA7
accent
#45CDE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228630

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

Preview Lab → · Contrast checker → · Palette generator →

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