#228938#228938

#228938 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.150 H 146.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#228938
RGBrgb(34, 137, 56)
HSLhsl(133, 60%, 34%)
HSVhsv(133, 75%, 54%)
CMYKcmyk(75.2%, 0%, 59.1%, 46.3%)
CIE-LABlab(50.12, -46.46, 34.76)
CIE-LCHlch(50.12, 58.02, 143.20°)
OKLaboklab(55.45% -0.1252 0.0825)
OKLCHoklch(55.45% 0.15 146.6)
XYZxyz(10.3184, 18.5157, 6.7707)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228938 #892273
analogous
#3F8922 #228938 #22896B
triadic
#228938 #382289 #893822
tetradic
#228938 #223F89 #892273 #896B22
square
#228938 #223F89 #892273 #896B22
split-complementary
#228938 #6B2289 #89223F
monochromatic
#0A2710 #165824 #228938 #2EBA4C #51D46D

Accessibility & contrast

On white

4.46
#228938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#228938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228938
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228938#FFFFFF#000000##000000
##2289381.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C30
Deuteranopia (green-blind)
#7F743E
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228938;
/* rgb */ color: rgb(34, 137, 56);
/* oklch */ color: oklch(55.4% 0.150 146.6);
Tailwind
colors: {
  custom: {
    50: '#6eac71',
    500: '#228938',
    950: '#000000',
  },
}
SCSS
$custom: #228938;
$custom-light: #6eac71;
$custom-dark: #000000;
JSON
{
  "hex": "#228938",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 56
  },
  "hsl": {
    "h": 132.816,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.14991,
    "h": 146.6
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

primary
#228938
secondary
#B84FA1
accent
#44C1E3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #228938

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

Preview Lab → · Contrast checker → · Palette generator →

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