#237F20#237F20

#237F20 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.155 H 142.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#237F20
RGBrgb(35, 127, 32)
HSLhsl(118, 60%, 31%)
HSVhsv(118, 75%, 50%)
CMYKcmyk(72.4%, 0%, 74.8%, 50.2%)
CIE-LABlab(46.50, -45.42, 41.63)
CIE-LCHlch(46.50, 61.61, 137.49°)
OKLaboklab(52.38% -0.1235 0.0945)
OKLCHoklch(52.38% 0.155 142.6)
XYZxyz(8.5427, 15.6394, 3.9347)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F20 #7C207F
analogous
#527F20 #237F20 #207F4C
triadic
#237F20 #20237F #7F2023
tetradic
#237F20 #20527F #7C207F #7F4C20
square
#237F20 #20527F #7C207F #7F4C20
split-complementary
#237F20 #4C207F #7F2052
monochromatic
#081D07 #164E14 #237F20 #30B02C #4DD148

Accessibility & contrast

On white

5.09
#237F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#237F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F20
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F20#FFFFFF#000000##FFFFFF
##237F201.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#077B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f20;
/* rgb */ color: rgb(35, 127, 32);
/* oklch */ color: oklch(52.4% 0.155 142.6);
Tailwind
colors: {
  custom: {
    50: '#6da562',
    500: '#237f20',
    950: '#000000',
  },
}
SCSS
$custom: #237f20;
$custom-light: #6da562;
$custom-dark: #000000;
JSON
{
  "hex": "#237f20",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 118.105,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52383,
    "c": 0.15546,
    "h": 142.6
  },
  "luminance": 0.1564
}

Semantic roles & 50–950 ramp

primary
#237F20
secondary
#AF49B2
accent
#45E3DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #237F20

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

Preview Lab → · Contrast checker → · Palette generator →

#237F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva