#228230#228230

#228230 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.148 H 145.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#228230
RGBrgb(34, 130, 48)
HSLhsl(129, 59%, 32%)
HSVhsv(129, 74%, 51%)
CMYKcmyk(73.8%, 0%, 63.1%, 49%)
CIE-LABlab(47.65, -44.97, 35.80)
CIE-LCHlch(47.65, 57.48, 141.48°)
OKLaboklab(53.37% -0.1214 0.0841)
OKLCHoklch(53.37% 0.148 145.3)
XYZxyz(9.1752, 16.5177, 5.5004)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228230 #822274
analogous
#448222 #228230 #228260
triadic
#228230 #302282 #823022
tetradic
#228230 #224482 #822274 #826022
square
#228230 #224482 #822274 #826022
split-complementary
#228230 #602282 #822244
monochromatic
#09210C #15511E #228230 #2FB342 #4ED161

Accessibility & contrast

On white

4.88
#228230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#228230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228230
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228230#FFFFFF#000000##FFFFFF
##2282301.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847627
Deuteranopia (green-blind)
#796E37
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228230;
/* rgb */ color: rgb(34, 130, 48);
/* oklch */ color: oklch(53.4% 0.148 145.3);
Tailwind
colors: {
  custom: {
    50: '#6ca76b',
    500: '#228230',
    950: '#000000',
  },
}
SCSS
$custom: #228230;
$custom-light: #6ca76b;
$custom-dark: #000000;
JSON
{
  "hex": "#228230",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 48
  },
  "hsl": {
    "h": 128.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53375,
    "c": 0.14768,
    "h": 145.3
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

primary
#228230
secondary
#B44CA5
accent
#46CBE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228230

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

Preview Lab → · Contrast checker → · Palette generator →

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