#238D22#238D22

#238D22 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.171 H 142.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#238D22
RGBrgb(35, 141, 34)
HSLhsl(119, 61%, 34%)
HSVhsv(119, 76%, 55%)
CMYKcmyk(75.2%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.29, -50.09, 45.73)
CIE-LCHlch(51.29, 67.82, 137.61°)
OKLaboklab(56.37% -0.136 0.1033)
OKLCHoklch(56.37% 0.171 142.8)
XYZxyz(10.5061, 19.5214, 4.7274)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D22 #8C228D
analogous
#598D22 #238D22 #228D57
triadic
#238D22 #22238D #8D2223
tetradic
#238D22 #22598D #8C228D #8D5722
square
#238D22 #22598D #8C228D #8D5722
split-complementary
#238D22 #57228D #8D2259
monochromatic
#0B2A0A #175C16 #238D22 #2FBE2E #55D654

Accessibility & contrast

On white

4.28
#238D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#238D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D22
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D22#FFFFFF#000000##000000
##238D221.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d22;
/* rgb */ color: rgb(35, 141, 34);
/* oklch */ color: oklch(56.4% 0.171 142.8);
Tailwind
colors: {
  custom: {
    50: '#70af65',
    500: '#238d22',
    950: '#000000',
  },
}
SCSS
$custom: #238d22;
$custom-light: #70af65;
$custom-dark: #000000;
JSON
{
  "hex": "#238d22",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 119.439,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.17081,
    "h": 142.8
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#238D22
secondary
#B851B9
accent
#44E4E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238D22

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

Preview Lab → · Contrast checker → · Palette generator →

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