#237A23#237A23

#237A23 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.147 H 143.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#237A23
RGBrgb(35, 122, 35)
HSLhsl(120, 55%, 31%)
HSVhsv(120, 71%, 48%)
CMYKcmyk(71.3%, 0%, 71.3%, 52.2%)
CIE-LABlab(44.80, -43.34, 38.62)
CIE-LCHlch(44.80, 58.05, 138.30°)
OKLaboklab(50.98% -0.1177 0.0886)
OKLCHoklch(50.98% 0.147 143)
XYZxyz(7.9556, 14.3969, 3.9494)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A23 #7A237A
analogous
#4E7A23 #237A23 #237A4E
triadic
#237A23 #23237A #7A2323
tetradic
#237A23 #234E7A #7A237A #7A4E23
square
#237A23 #234E7A #7A237A #7A4E23
split-complementary
#237A23 #4E237A #7A234E
monochromatic
#081B08 #154A15 #237A23 #31AA31 #4CCC4C

Accessibility & contrast

On white

5.41
#237A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#237A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A23
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A23#FFFFFF#000000##FFFFFF
##237A231.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E16
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#0A7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237a23;
/* rgb */ color: rgb(35, 122, 35);
/* oklch */ color: oklch(51.0% 0.147 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ca163',
    500: '#237a23',
    950: '#000000',
  },
}
SCSS
$custom: #237a23;
$custom-light: #6ca163;
$custom-dark: #000000;
JSON
{
  "hex": "#237a23",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 120,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.14727,
    "h": 143
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#237A23
secondary
#AD4CAD
accent
#49DFDF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #237A23

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

Preview Lab → · Contrast checker → · Palette generator →

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