#237B2F#237B2F

#237B2F is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.139 H 145.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#237B2F
RGBrgb(35, 123, 47)
HSLhsl(128, 56%, 31%)
HSVhsv(128, 72%, 48%)
CMYKcmyk(71.5%, 0%, 61.8%, 51.8%)
CIE-LABlab(45.26, -42.32, 33.55)
CIE-LCHlch(45.26, 54.01, 141.59°)
OKLaboklab(51.4% -0.1143 0.0791)
OKLCHoklch(51.4% 0.139 145.3)
XYZxyz(8.2886, 14.7276, 5.0947)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B2F #7B236F
analogous
#437B23 #237B2F #237B5B
triadic
#237B2F #2F237B #7B2F23
tetradic
#237B2F #23437B #7B236F #7B5B23
square
#237B2F #23437B #7B236F #7B5B23
split-complementary
#237B2F #5B237B #7B2343
monochromatic
#081C0B #154B1D #237B2F #31AB41 #4CCC5E

Accessibility & contrast

On white

5.32
#237B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#237B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B2F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B2F#FFFFFF#000000##FFFFFF
##237B2F1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F27
Deuteranopia (green-blind)
#736835
Tritanopia (blue-blind)
#03786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b2f;
/* rgb */ color: rgb(35, 123, 47);
/* oklch */ color: oklch(51.4% 0.139 145.3);
Tailwind
colors: {
  custom: {
    50: '#6ba26a',
    500: '#237b2f',
    950: '#000000',
  },
}
SCSS
$custom: #237b2f;
$custom-light: #6ba26a;
$custom-dark: #000000;
JSON
{
  "hex": "#237b2f",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 128.182,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51401,
    "c": 0.13903,
    "h": 145.3
  },
  "luminance": 0.14728
}

Semantic roles & 50–950 ramp

primary
#237B2F
secondary
#AE4CA0
accent
#49CBDF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #237B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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