#237D23#237D23

#237D23 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.151 H 143.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#237D23
RGBrgb(35, 125, 35)
HSLhsl(120, 56%, 31%)
HSVhsv(120, 72%, 49%)
CMYKcmyk(72%, 0%, 72%, 51%)
CIE-LABlab(45.83, -44.43, 39.71)
CIE-LCHlch(45.83, 59.59, 138.21°)
OKLaboklab(51.84% -0.1206 0.0909)
OKLCHoklch(51.84% 0.151 143)
XYZxyz(8.3296, 15.1450, 4.0741)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D23 #7D237D
analogous
#507D23 #237D23 #237D50
triadic
#237D23 #23237D #7D2323
tetradic
#237D23 #23507D #7D237D #7D5023
square
#237D23 #23507D #7D237D #7D5023
split-complementary
#237D23 #50237D #7D2350
monochromatic
#081D08 #164D16 #237D23 #30AD30 #4DCD4D

Accessibility & contrast

On white

5.21
#237D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#237D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D23
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D23#FFFFFF#000000##FFFFFF
##237D231.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#08796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237d23;
/* rgb */ color: rgb(35, 125, 35);
/* oklch */ color: oklch(51.8% 0.151 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ca463',
    500: '#237d23',
    950: '#000000',
  },
}
SCSS
$custom: #237d23;
$custom-light: #6ca463;
$custom-dark: #000000;
JSON
{
  "hex": "#237d23",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 120,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.15101,
    "h": 143
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#237D23
secondary
#AF4CAF
accent
#48E0E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #237D23

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

Preview Lab → · Contrast checker → · Palette generator →

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