#228735#228735

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

Color values

HEX#228735
RGBrgb(34, 135, 53)
HSLhsl(131, 60%, 33%)
HSVhsv(131, 75%, 53%)
CMYKcmyk(74.8%, 0%, 60.7%, 47.1%)
CIE-LABlab(49.40, -46.14, 35.40)
CIE-LCHlch(49.40, 58.16, 142.50°)
OKLaboklab(54.85% -0.1244 0.0836)
OKLCHoklch(54.85% 0.15 146.1)
XYZxyz(9.9656, 17.9239, 6.3019)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228735 #872274
analogous
#418722 #228735 #228767
triadic
#228735 #352287 #873522
tetradic
#228735 #224187 #872274 #876722
square
#228735 #224187 #872274 #876722
split-complementary
#228735 #672287 #872241
monochromatic
#09250F #165622 #228735 #2EB848 #50D369

Accessibility & contrast

On white

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

On black

4.59
#228735 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228735
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228735#FFFFFF#000000##000000
##2287351.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228735;
/* rgb */ color: rgb(34, 135, 53);
/* oklch */ color: oklch(54.8% 0.150 146.1);
Tailwind
colors: {
  custom: {
    50: '#6dab6f',
    500: '#228735',
    950: '#000000',
  },
}
SCSS
$custom: #228735;
$custom-light: #6dab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#228735",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 53
  },
  "hsl": {
    "h": 131.287,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.14991,
    "h": 146.1
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#228735
secondary
#B74EA3
accent
#45C5E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228735

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

Preview Lab → · Contrast checker → · Palette generator →

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