#228239#228239

#228239 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.140 H 147.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#228239
RGBrgb(34, 130, 57)
HSLhsl(134, 59%, 32%)
HSVhsv(134, 74%, 51%)
CMYKcmyk(73.8%, 0%, 56.2%, 49%)
CIE-LABlab(47.75, -43.73, 31.43)
CIE-LCHlch(47.75, 53.86, 144.29°)
OKLaboklab(53.5% -0.1178 0.0753)
OKLCHoklch(53.5% 0.14 147.4)
XYZxyz(9.3801, 16.5997, 6.5798)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228239 #82226B
analogous
#3B8222 #228239 #228269
triadic
#228239 #392282 #823922
tetradic
#228239 #223B82 #82226B #826922
square
#228239 #223B82 #82226B #826922
split-complementary
#228239 #692282 #82223B
monochromatic
#09210E #155124 #228239 #2FB34E #4ED16D

Accessibility & contrast

On white

4.86
#228239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#228239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228239
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228239#FFFFFF#000000##FFFFFF
##2282391.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847632
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228239;
/* rgb */ color: rgb(34, 130, 57);
/* oklch */ color: oklch(53.5% 0.140 147.4);
Tailwind
colors: {
  custom: {
    50: '#6ca771',
    500: '#228239',
    950: '#000000',
  },
}
SCSS
$custom: #228239;
$custom-light: #6ca771;
$custom-dark: #000000;
JSON
{
  "hex": "#228239",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 134.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.13979,
    "h": 147.4
  },
  "luminance": 0.16601
}

Semantic roles & 50–950 ramp

primary
#228239
secondary
#B44C9B
accent
#46BCE2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #228239

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

Preview Lab → · Contrast checker → · Palette generator →

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