#237E2F#237E2F

#237E2F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.143 H 145.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#237E2F
RGBrgb(35, 126, 47)
HSLhsl(128, 57%, 32%)
HSVhsv(128, 72%, 49%)
CMYKcmyk(72.2%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.29, -43.44, 34.74)
CIE-LCHlch(46.29, 55.62, 141.35°)
OKLaboklab(52.25% -0.1174 0.0817)
OKLCHoklch(52.25% 0.143 145.2)
XYZxyz(8.6665, 15.4833, 5.2206)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237E2F #7E2372
analogous
#457E23 #237E2F #237E5D
triadic
#237E2F #2F237E #7E2F23
tetradic
#237E2F #23457E #7E2372 #7E5D23
square
#237E2F #23457E #7E2372 #7E5D23
split-complementary
#237E2F #5D237E #7E2345
monochromatic
#081E0B #164E1D #237E2F #30AE41 #4ECE5F

Accessibility & contrast

On white

5.13
#237E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#237E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237E2F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237E2F#FFFFFF#000000##FFFFFF
##237E2F1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807226
Deuteranopia (green-blind)
#756B36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237e2f;
/* rgb */ color: rgb(35, 126, 47);
/* oklch */ color: oklch(52.3% 0.143 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ca46a',
    500: '#237e2f',
    950: '#000000',
  },
}
SCSS
$custom: #237e2f;
$custom-light: #6ca46a;
$custom-dark: #000000;
JSON
{
  "hex": "#237e2f",
  "rgb": {
    "r": 35,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 127.912,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52254,
    "c": 0.14298,
    "h": 145.2
  },
  "luminance": 0.15484
}

Semantic roles & 50–950 ramp

primary
#237E2F
secondary
#B04CA3
accent
#48CCE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #237E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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