#237F31#237F31

#237F31 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.143 H 145.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#237F31
RGBrgb(35, 127, 49)
HSLhsl(129, 57%, 32%)
HSVhsv(129, 72%, 50%)
CMYKcmyk(72.4%, 0%, 61.4%, 50.2%)
CIE-LABlab(46.65, -43.55, 34.18)
CIE-LCHlch(46.65, 55.36, 141.88°)
OKLaboklab(52.56% -0.1176 0.0806)
OKLCHoklch(52.56% 0.143 145.6)
XYZxyz(8.8363, 15.7569, 5.4808)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F31 #7F2371
analogous
#437F23 #237F31 #237F5F
triadic
#237F31 #31237F #7F3123
tetradic
#237F31 #23437F #7F2371 #7F5F23
square
#237F31 #23437F #7F2371 #7F5F23
split-complementary
#237F31 #5F237F #7F2343
monochromatic
#091F0C #164F1E #237F31 #30AF44 #4ECE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237F31#FFFFFF#000000##FFFFFF
##237F311.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)
#817329
Deuteranopia (green-blind)
#766C37
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #237f31;
/* rgb */ color: rgb(35, 127, 49);
/* oklch */ color: oklch(52.6% 0.143 145.6);
Tailwind
colors: {
  custom: {
    50: '#6ca56c',
    500: '#237f31',
    950: '#000000',
  },
}
SCSS
$custom: #237f31;
$custom-light: #6ca56c;
$custom-dark: #000000;
JSON
{
  "hex": "#237f31",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 49
  },
  "hsl": {
    "h": 129.13,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.14259,
    "h": 145.6
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#237F31
secondary
#B14CA2
accent
#48C9E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #237F31

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

Preview Lab → · Contrast checker → · Palette generator →

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