#228038#228038

#228038 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.138 H 147.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#228038
RGBrgb(34, 128, 56)
HSLhsl(134, 58%, 32%)
HSVhsv(134, 73%, 50%)
CMYKcmyk(73.4%, 0%, 56.3%, 49.8%)
CIE-LABlab(47.06, -43.13, 31.11)
CIE-LCHlch(47.06, 53.18, 144.19°)
OKLaboklab(52.92% -0.1162 0.0745)
OKLCHoklch(52.92% 0.138 147.3)
XYZxyz(9.0920, 16.0629, 6.3619)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228038 #80226A
analogous
#3B8022 #228038 #228067
triadic
#228038 #382280 #803822
tetradic
#228038 #223B80 #80226A #806722
square
#228038 #223B80 #80226A #806722
split-complementary
#228038 #672280 #80223B
monochromatic
#081F0E #155023 #228038 #2FB04D #4DD06B

Accessibility & contrast

On white

4.98
#228038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#228038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228038
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228038#FFFFFF#000000##FFFFFF
##2280381.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827431
Deuteranopia (green-blind)
#766D3D
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228038;
/* rgb */ color: rgb(34, 128, 56);
/* oklch */ color: oklch(52.9% 0.138 147.3);
Tailwind
colors: {
  custom: {
    50: '#6ca670',
    500: '#228038',
    950: '#000000',
  },
}
SCSS
$custom: #228038;
$custom-light: #6ca670;
$custom-dark: #000000;
JSON
{
  "hex": "#228038",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 56
  },
  "hsl": {
    "h": 134.043,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.13802,
    "h": 147.3
  },
  "luminance": 0.16064
}

Semantic roles & 50–950 ramp

primary
#228038
secondary
#B24B9A
accent
#47BDE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #228038

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

Preview Lab → · Contrast checker → · Palette generator →

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