#238E22#238E22

#238E22 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.172 H 142.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#238E22
RGBrgb(35, 142, 34)
HSLhsl(119, 61%, 35%)
HSVhsv(119, 76%, 56%)
CMYKcmyk(75.4%, 0%, 76.1%, 44.3%)
CIE-LABlab(51.63, -50.43, 46.07)
CIE-LCHlch(51.63, 68.30, 137.59°)
OKLaboklab(56.65% -0.1369 0.104)
OKLCHoklch(56.65% 0.172 142.8)
XYZxyz(10.6542, 19.8176, 4.7767)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E22 #8D228E
analogous
#598E22 #238E22 #228E57
triadic
#238E22 #22238E #8E2223
tetradic
#238E22 #22598E #8D228E #8E5722
square
#238E22 #22598E #8D228E #8E5722
split-complementary
#238E22 #57228E #8E2259
monochromatic
#0B2B0A #175D16 #238E22 #2FBF2E #55D654

Accessibility & contrast

On white

4.23
#238E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#238E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E22
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E22#FFFFFF#000000##000000
##238E221.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800C
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e22;
/* rgb */ color: rgb(35, 142, 34);
/* oklch */ color: oklch(56.6% 0.172 142.8);
Tailwind
colors: {
  custom: {
    50: '#70b065',
    500: '#238e22',
    950: '#000000',
  },
}
SCSS
$custom: #238e22;
$custom-light: #70b065;
$custom-dark: #000000;
JSON
{
  "hex": "#238e22",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 119.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56648,
    "c": 0.17196,
    "h": 142.8
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#238E22
secondary
#B952BA
accent
#43E4E3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238E22

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

Preview Lab → · Contrast checker → · Palette generator →

#238E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva