#237D2E#237D2E

#237D2E is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.143 H 145.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#237D2E
RGBrgb(35, 125, 46)
HSLhsl(127, 56%, 31%)
HSVhsv(127, 72%, 49%)
CMYKcmyk(72%, 0%, 63.2%, 51%)
CIE-LABlab(45.94, -43.20, 34.82)
CIE-LCHlch(45.94, 55.48, 141.13°)
OKLaboklab(51.96% -0.1167 0.0817)
OKLCHoklch(51.96% 0.143 145)
XYZxyz(8.5193, 15.2209, 5.0732)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D2E #7D2372
analogous
#457D23 #237D2E #237D5B
triadic
#237D2E #2E237D #7D2E23
tetradic
#237D2E #23457D #7D2372 #7D5B23
square
#237D2E #23457D #7D2372 #7D5B23
split-complementary
#237D2E #5B237D #7D2345
monochromatic
#081D0B #164D1C #237D2E #30AD40 #4DCD5D

Accessibility & contrast

On white

5.19
#237D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#237D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D2E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D2E#FFFFFF#000000##FFFFFF
##237D2E1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7125
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#027A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237d2e;
/* rgb */ color: rgb(35, 125, 46);
/* oklch */ color: oklch(52.0% 0.143 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ca46a',
    500: '#237d2e',
    950: '#000000',
  },
}
SCSS
$custom: #237d2e;
$custom-light: #6ca46a;
$custom-dark: #000000;
JSON
{
  "hex": "#237d2e",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 127.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.14252,
    "h": 145
  },
  "luminance": 0.15222
}

Semantic roles & 50–950 ramp

primary
#237D2E
secondary
#AF4CA3
accent
#48CDE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #237D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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