#228733#228733

#228733 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.152 H 145.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#228733
RGBrgb(34, 135, 51)
HSLhsl(130, 60%, 33%)
HSVhsv(130, 75%, 53%)
CMYKcmyk(74.8%, 0%, 62.2%, 47.1%)
CIE-LABlab(49.38, -46.40, 36.35)
CIE-LCHlch(49.38, 58.94, 141.93°)
OKLaboklab(54.82% -0.1252 0.0855)
OKLCHoklch(54.82% 0.152 145.7)
XYZxyz(9.9205, 17.9059, 6.0647)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228733 #872276
analogous
#438722 #228733 #228765
triadic
#228733 #332287 #873322
tetradic
#228733 #224387 #872276 #876522
square
#228733 #224387 #872276 #876522
split-complementary
#228733 #652287 #872243
monochromatic
#09250E #165621 #228733 #2EB845 #50D366

Accessibility & contrast

On white

4.58
#228733 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#228733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228733
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228733#FFFFFF#000000##000000
##2287331.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A2A
Deuteranopia (green-blind)
#7D723A
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228733;
/* rgb */ color: rgb(34, 135, 51);
/* oklch */ color: oklch(54.8% 0.152 145.7);
Tailwind
colors: {
  custom: {
    50: '#6eab6e',
    500: '#228733',
    950: '#000000',
  },
}
SCSS
$custom: #228733;
$custom-light: #6eab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#228733",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 51
  },
  "hsl": {
    "h": 130.099,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.1516,
    "h": 145.7
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228733

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

Preview Lab → · Contrast checker → · Palette generator →

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