#237C3F#237C3F

#237C3F is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.125 H 149.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#237C3F
RGBrgb(35, 124, 63)
HSLhsl(139, 56%, 31%)
HSVhsv(139, 72%, 49%)
CMYKcmyk(71.8%, 0%, 49.2%, 51.4%)
CIE-LABlab(45.81, -40.26, 25.85)
CIE-LCHlch(45.81, 47.85, 147.29°)
OKLaboklab(51.93% -0.1084 0.0631)
OKLCHoklch(51.93% 0.125 149.8)
XYZxyz(8.7973, 15.1305, 7.1585)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237C3F #7C2360
analogous
#337C23 #237C3F #237C6B
triadic
#237C3F #3F237C #7C3F23
tetradic
#237C3F #23337C #7C2360 #7C6B23
square
#237C3F #23337C #7C2360 #7C6B23
split-complementary
#237C3F #6B237C #7C2333
monochromatic
#081D0F #164C27 #237C3F #30AC57 #4DCD75

Accessibility & contrast

On white

5.22
#237C3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#237C3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237C3F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237C3F#FFFFFF#000000##FFFFFF
##237C3F1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713A
Deuteranopia (green-blind)
#726943
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237c3f;
/* rgb */ color: rgb(35, 124, 63);
/* oklch */ color: oklch(51.9% 0.125 149.8);
Tailwind
colors: {
  custom: {
    50: '#6ba375',
    500: '#237c3f',
    950: '#000000',
  },
}
SCSS
$custom: #237c3f;
$custom-light: #6ba375;
$custom-dark: #000000;
JSON
{
  "hex": "#237c3f",
  "rgb": {
    "r": 35,
    "g": 124,
    "b": 63
  },
  "hsl": {
    "h": 138.876,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51927,
    "c": 0.12547,
    "h": 149.8
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#237C3F
secondary
#AF4C90
accent
#49B0DF
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #237C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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