#238A22#238A22

#238A22 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.167 H 142.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#238A22
RGBrgb(35, 138, 34)
HSLhsl(119, 60%, 34%)
HSVhsv(119, 75%, 54%)
CMYKcmyk(74.6%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.27, -49.07, 44.70)
CIE-LCHlch(50.27, 66.38, 137.67°)
OKLaboklab(55.52% -0.1333 0.1012)
OKLCHoklch(55.52% 0.167 142.8)
XYZxyz(10.0697, 18.6486, 4.5819)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238A22 #89228A
analogous
#578A22 #238A22 #228A55
triadic
#238A22 #22238A #8A2223
tetradic
#238A22 #22578A #89228A #8A5522
square
#238A22 #22578A #89228A #8A5522
split-complementary
#238A22 #55228A #8A2257
monochromatic
#0A280A #175916 #238A22 #2FBB2E #53D452

Accessibility & contrast

On white

4.44
#238A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#238A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238A22
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238A22#FFFFFF#000000##000000
##238A221.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0E
Deuteranopia (green-blind)
#81752D
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238a22;
/* rgb */ color: rgb(35, 138, 34);
/* oklch */ color: oklch(55.5% 0.167 142.8);
Tailwind
colors: {
  custom: {
    50: '#6fad64',
    500: '#238a22',
    950: '#000000',
  },
}
SCSS
$custom: #238a22;
$custom-light: #6fad64;
$custom-dark: #000000;
JSON
{
  "hex": "#238a22",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 119.423,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.16731,
    "h": 142.8
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#238A22
secondary
#B750B8
accent
#44E4E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238A22

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

Preview Lab → · Contrast checker → · Palette generator →

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