#228734#228734

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

Color values

HEX#228734
RGBrgb(34, 135, 52)
HSLhsl(131, 60%, 33%)
HSVhsv(131, 75%, 53%)
CMYKcmyk(74.8%, 0%, 61.5%, 47.1%)
CIE-LABlab(49.39, -46.27, 35.88)
CIE-LCHlch(49.39, 58.55, 142.21°)
OKLaboklab(54.84% -0.1248 0.0846)
OKLCHoklch(54.84% 0.151 145.9)
XYZxyz(9.9428, 17.9148, 6.1821)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228734 #872275
analogous
#428722 #228734 #228766
triadic
#228734 #342287 #873422
tetradic
#228734 #224287 #872275 #876622
square
#228734 #224287 #872275 #876622
split-complementary
#228734 #662287 #872242
monochromatic
#09250E #165621 #228734 #2EB847 #50D368

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228734#FFFFFF#000000##000000
##2287341.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)
#897A2B
Deuteranopia (green-blind)
#7D723B
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228734;
/* rgb */ color: rgb(34, 135, 52);
/* oklch */ color: oklch(54.8% 0.151 145.9);
Tailwind
colors: {
  custom: {
    50: '#6dab6e',
    500: '#228734',
    950: '#000000',
  },
}
SCSS
$custom: #228734;
$custom-light: #6dab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#228734",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 52
  },
  "hsl": {
    "h": 130.693,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.15076,
    "h": 145.9
  },
  "luminance": 0.17916
}

Semantic roles & 50–950 ramp

primary
#228734
secondary
#B74EA4
accent
#45C7E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228734

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

Preview Lab → · Contrast checker → · Palette generator →

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