#237C2F#237C2F

#237C2F is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.140 H 145.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#237C2F
RGBrgb(35, 124, 47)
HSLhsl(128, 56%, 31%)
HSVhsv(128, 72%, 49%)
CMYKcmyk(71.8%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.60, -42.70, 33.95)
CIE-LCHlch(45.60, 54.55, 141.51°)
OKLaboklab(51.69% -0.1153 0.08)
OKLCHoklch(51.69% 0.14 145.3)
XYZxyz(8.4133, 14.9770, 5.1362)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237C2F #7C2370
analogous
#437C23 #237C2F #237C5B
triadic
#237C2F #2F237C #7C2F23
tetradic
#237C2F #23437C #7C2370 #7C5B23
square
#237C2F #23437C #7C2370 #7C5B23
split-complementary
#237C2F #5B237C #7C2343
monochromatic
#081D0B #164C1D #237C2F #30AC41 #4DCD5E

Accessibility & contrast

On white

5.26
#237C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#237C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237C2F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237C2F#FFFFFF#000000##FFFFFF
##237C2F1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#02796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237c2f;
/* rgb */ color: rgb(35, 124, 47);
/* oklch */ color: oklch(51.7% 0.140 145.3);
Tailwind
colors: {
  custom: {
    50: '#6ba36a',
    500: '#237c2f',
    950: '#000000',
  },
}
SCSS
$custom: #237c2f;
$custom-light: #6ba36a;
$custom-dark: #000000;
JSON
{
  "hex": "#237c2f",
  "rgb": {
    "r": 35,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 128.09,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.14035,
    "h": 145.3
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

primary
#237C2F
secondary
#AF4CA1
accent
#49CBDF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #237C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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