#237F2F#237F2F

#237F2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.144 H 145.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#237F2F
RGBrgb(35, 127, 47)
HSLhsl(128, 57%, 32%)
HSVhsv(128, 72%, 50%)
CMYKcmyk(72.4%, 0%, 63%, 50.2%)
CIE-LABlab(46.63, -43.81, 35.13)
CIE-LCHlch(46.63, 56.16, 141.28°)
OKLaboklab(52.54% -0.1184 0.0825)
OKLCHoklch(52.54% 0.144 145.1)
XYZxyz(8.7950, 15.7403, 5.2635)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F2F #7F2373
analogous
#457F23 #237F2F #237F5D
triadic
#237F2F #2F237F #7F2F23
tetradic
#237F2F #23457F #7F2373 #7F5D23
square
#237F2F #23457F #7F2373 #7F5D23
split-complementary
#237F2F #5D237F #7F2345
monochromatic
#091F0B #164F1D #237F2F #30AF41 #4ECE5F

Accessibility & contrast

On white

5.06
#237F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#237F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F2F#FFFFFF#000000##FFFFFF
##237F2F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#766C36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f2f;
/* rgb */ color: rgb(35, 127, 47);
/* oklch */ color: oklch(52.5% 0.144 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ca56b',
    500: '#237f2f',
    950: '#000000',
  },
}
SCSS
$custom: #237f2f;
$custom-light: #6ca56b;
$custom-dark: #000000;
JSON
{
  "hex": "#237f2f",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 127.826,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.1443,
    "h": 145.1
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #237F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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