#228742#228742

#228742 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.138 H 149.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#228742
RGBrgb(34, 135, 66)
HSLhsl(139, 60%, 33%)
HSVhsv(139, 75%, 53%)
CMYKcmyk(74.8%, 0%, 51.1%, 47.1%)
CIE-LABlab(49.57, -44.20, 28.95)
CIE-LCHlch(49.57, 52.83, 146.78°)
OKLaboklab(55.04% -0.1189 0.0703)
OKLCHoklch(55.04% 0.138 149.4)
XYZxyz(10.3062, 18.0602, 8.0960)
Luminance0.1806 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228742 #872267
analogous
#348722 #228742 #228774
triadic
#228742 #422287 #874222
tetradic
#228742 #223487 #872267 #877422
square
#228742 #223487 #872267 #877422
split-complementary
#228742 #742287 #872234
monochromatic
#092512 #16562A #228742 #2EB85A #50D37A

Accessibility & contrast

On white

4.55
#228742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#228742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228742
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228742#FFFFFF#000000##000000
##2287421.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3C
Deuteranopia (green-blind)
#7C7347
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228742;
/* rgb */ color: rgb(34, 135, 66);
/* oklch */ color: oklch(55.0% 0.138 149.4);
Tailwind
colors: {
  custom: {
    50: '#6dab78',
    500: '#228742',
    950: '#000000',
  },
}
SCSS
$custom: #228742;
$custom-light: #6dab78;
$custom-dark: #000000;
JSON
{
  "hex": "#228742",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 66
  },
  "hsl": {
    "h": 139.01,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55039,
    "c": 0.13812,
    "h": 149.4
  },
  "luminance": 0.18061
}

Semantic roles & 50–950 ramp

primary
#228742
secondary
#B74E95
accent
#45B1E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228742

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

Preview Lab → · Contrast checker → · Palette generator →

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