#238A20#238A20

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

Color values

HEX#238A20
RGBrgb(35, 138, 32)
HSLhsl(118, 62%, 33%)
HSVhsv(118, 77%, 54%)
CMYKcmyk(74.6%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.26, -49.23, 45.43)
CIE-LCHlch(50.26, 66.99, 137.30°)
OKLaboklab(55.51% -0.1338 0.1024)
OKLCHoklch(55.51% 0.168 142.6)
XYZxyz(10.0417, 18.6374, 4.4344)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238A20 #87208A
analogous
#588A20 #238A20 #208A52
triadic
#238A20 #20238A #8A2023
tetradic
#238A20 #20588A #87208A #8A5220
square
#238A20 #20588A #87208A #8A5220
split-complementary
#238A20 #52208A #8A2058
monochromatic
#0A2709 #165814 #238A20 #30BC2C #52D64E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238A20#FFFFFF#000000##000000
##238A201.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)
#8D7C0A
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238a20;
/* rgb */ color: rgb(35, 138, 32);
/* oklch */ color: oklch(55.5% 0.168 142.6);
Tailwind
colors: {
  custom: {
    50: '#70ad63',
    500: '#238a20',
    950: '#000000',
  },
}
SCSS
$custom: #238a20;
$custom-light: #70ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#238a20",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 118.302,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.16849,
    "h": 142.6
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#238A20
secondary
#B64DB9
accent
#42E5E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238A20

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

Preview Lab → · Contrast checker → · Palette generator →

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