#228330#228330

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

Color values

HEX#228330
RGBrgb(34, 131, 48)
HSLhsl(129, 59%, 32%)
HSVhsv(129, 74%, 51%)
CMYKcmyk(74%, 0%, 63.4%, 48.6%)
CIE-LABlab(47.99, -45.34, 36.19)
CIE-LCHlch(47.99, 58.01, 141.40°)
OKLaboklab(53.66% -0.1224 0.0849)
OKLCHoklch(53.66% 0.149 145.3)
XYZxyz(9.3089, 16.7850, 5.5450)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228330 #832275
analogous
#448322 #228330 #228361
triadic
#228330 #302283 #833022
tetradic
#228330 #224483 #832275 #836122
square
#228330 #224483 #832275 #836122
split-complementary
#228330 #612283 #832244
monochromatic
#09220C #15521E #228330 #2FB442 #4ED161

Accessibility & contrast

On white

4.82
#228330 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #228330
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228330#FFFFFF#000000##FFFFFF
##2283301.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857727
Deuteranopia (green-blind)
#7A6F37
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228330;
/* rgb */ color: rgb(34, 131, 48);
/* oklch */ color: oklch(53.7% 0.149 145.3);
Tailwind
colors: {
  custom: {
    50: '#6da86b',
    500: '#228330',
    950: '#000000',
  },
}
SCSS
$custom: #228330;
$custom-light: #6da86b;
$custom-dark: #000000;
JSON
{
  "hex": "#228330",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 48
  },
  "hsl": {
    "h": 128.66,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53658,
    "c": 0.14897,
    "h": 145.3
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228330

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

Preview Lab → · Contrast checker → · Palette generator →

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