#237B3F#237B3F

#237B3F is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.124 H 149.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#237B3F
RGBrgb(35, 123, 63)
HSLhsl(139, 56%, 31%)
HSVhsv(139, 72%, 48%)
CMYKcmyk(71.5%, 0%, 48.8%, 51.8%)
CIE-LABlab(45.47, -39.86, 25.42)
CIE-LCHlch(45.47, 47.28, 147.47°)
OKLaboklab(51.65% -0.1074 0.0621)
OKLCHoklch(51.65% 0.124 149.9)
XYZxyz(8.6726, 14.8812, 7.1170)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B3F #7B235F
analogous
#337B23 #237B3F #237B6B
triadic
#237B3F #3F237B #7B3F23
tetradic
#237B3F #23337B #7B235F #7B6B23
square
#237B3F #23337B #7B235F #7B6B23
split-complementary
#237B3F #6B237B #7B2333
monochromatic
#081C0E #154B27 #237B3F #31AB57 #4CCC75

Accessibility & contrast

On white

5.28
#237B3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#237B3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B3F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B3F#FFFFFF#000000##FFFFFF
##237B3F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C703A
Deuteranopia (green-blind)
#716943
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237b3f;
/* rgb */ color: rgb(35, 123, 63);
/* oklch */ color: oklch(51.6% 0.124 149.9);
Tailwind
colors: {
  custom: {
    50: '#6ba275',
    500: '#237b3f',
    950: '#000000',
  },
}
SCSS
$custom: #237b3f;
$custom-light: #6ba275;
$custom-dark: #000000;
JSON
{
  "hex": "#237b3f",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 63
  },
  "hsl": {
    "h": 139.091,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51645,
    "c": 0.12406,
    "h": 149.9
  },
  "luminance": 0.14882
}

Semantic roles & 50–950 ramp

primary
#237B3F
secondary
#AE4C8F
accent
#49AFDF
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #237B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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