#237B20#237B20

#237B20 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.151 H 142.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#237B20
RGBrgb(35, 123, 32)
HSLhsl(118, 59%, 30%)
HSVhsv(118, 74%, 48%)
CMYKcmyk(71.5%, 0%, 74%, 51.8%)
CIE-LABlab(45.12, -43.99, 40.21)
CIE-LCHlch(45.12, 59.60, 137.57°)
OKLaboklab(51.24% -0.1196 0.0915)
OKLCHoklch(51.24% 0.151 142.6)
XYZxyz(8.0363, 14.6267, 3.7659)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B20 #78207B
analogous
#507B20 #237B20 #207B4A
triadic
#237B20 #20237B #7B2023
tetradic
#237B20 #20507B #78207B #7B4A20
square
#237B20 #20507B #78207B #7B4A20
split-complementary
#237B20 #4A207B #7B2050
monochromatic
#071A07 #154A13 #237B20 #31AC2D #4BCF46

Accessibility & contrast

On white

5.35
#237B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#237B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B20
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B20#FFFFFF#000000##FFFFFF
##237B201.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F11
Deuteranopia (green-blind)
#746829
Tritanopia (blue-blind)
#0B7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b20;
/* rgb */ color: rgb(35, 123, 32);
/* oklch */ color: oklch(51.2% 0.151 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ca261',
    500: '#237b20',
    950: '#000000',
  },
}
SCSS
$custom: #237b20;
$custom-light: #6ca261;
$custom-dark: #000000;
JSON
{
  "hex": "#237b20",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 118.022,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.15059,
    "h": 142.6
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#237B20
secondary
#AB49AE
accent
#46E2DD
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #237B20

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

Preview Lab → · Contrast checker → · Palette generator →

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