#237F42#237F42

#237F42 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.127 H 150.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#237F42
RGBrgb(35, 127, 66)
HSLhsl(140, 57%, 32%)
HSVhsv(140, 72%, 50%)
CMYKcmyk(72.4%, 0%, 48%, 50.2%)
CIE-LABlab(46.88, -40.92, 25.57)
CIE-LCHlch(46.88, 48.25, 148.00°)
OKLaboklab(52.82% -0.1102 0.0626)
OKLCHoklch(52.82% 0.127 150.4)
XYZxyz(9.2651, 15.9284, 7.7394)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F42 #7F2360
analogous
#327F23 #237F42 #237F70
triadic
#237F42 #42237F #7F4223
tetradic
#237F42 #23327F #7F2360 #7F7023
square
#237F42 #23327F #7F2360 #7F7023
split-complementary
#237F42 #70237F #7F2332
monochromatic
#091F10 #164F29 #237F42 #30AF5B #4ECE79

Accessibility & contrast

On white

5.02
#237F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#237F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F42
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F42#FFFFFF#000000##FFFFFF
##237F421.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743D
Deuteranopia (green-blind)
#756C46
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #237f42;
/* rgb */ color: rgb(35, 127, 66);
/* oklch */ color: oklch(52.8% 0.127 150.4);
Tailwind
colors: {
  custom: {
    50: '#6ba577',
    500: '#237f42',
    950: '#000000',
  },
}
SCSS
$custom: #237f42;
$custom-light: #6ba577;
$custom-dark: #000000;
JSON
{
  "hex": "#237f42",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 66
  },
  "hsl": {
    "h": 140.217,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.12674,
    "h": 150.4
  },
  "luminance": 0.15929
}

Semantic roles & 50–950 ramp

primary
#237F42
secondary
#B14C8F
accent
#48ADE0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #237F42

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

Preview Lab → · Contrast checker → · Palette generator →

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