#237C23#237C23

#237C23 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.150 H 143.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#237C23
RGBrgb(35, 124, 35)
HSLhsl(120, 56%, 31%)
HSVhsv(120, 72%, 49%)
CMYKcmyk(71.8%, 0%, 71.8%, 51.4%)
CIE-LABlab(45.49, -44.07, 39.35)
CIE-LCHlch(45.49, 59.08, 138.24°)
OKLaboklab(51.55% -0.1196 0.0901)
OKLCHoklch(51.55% 0.15 143)
XYZxyz(8.2037, 14.8931, 4.0321)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237C23 #7C237C
analogous
#4F7C23 #237C23 #237C4F
triadic
#237C23 #23237C #7C2323
tetradic
#237C23 #234F7C #7C237C #7C4F23
square
#237C23 #234F7C #7C237C #7C4F23
split-complementary
#237C23 #4F237C #7C234F
monochromatic
#081D08 #164C16 #237C23 #30AC30 #4DCD4D

Accessibility & contrast

On white

5.28
#237C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#237C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237C23
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237C23#FFFFFF#000000##FFFFFF
##237C231.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7016
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#09786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237c23;
/* rgb */ color: rgb(35, 124, 35);
/* oklch */ color: oklch(51.6% 0.150 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ca363',
    500: '#237c23',
    950: '#000000',
  },
}
SCSS
$custom: #237c23;
$custom-light: #6ca363;
$custom-dark: #000000;
JSON
{
  "hex": "#237c23",
  "rgb": {
    "r": 35,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 120,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.14977,
    "h": 143
  },
  "luminance": 0.14894
}

Semantic roles & 50–950 ramp

primary
#237C23
secondary
#AF4CAF
accent
#49DFDF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #237C23

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

Preview Lab → · Contrast checker → · Palette generator →

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