#237F3A#237F3A

#237F3A is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.134 H 147.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#237F3A
RGBrgb(35, 127, 58)
HSLhsl(135, 57%, 32%)
HSVhsv(135, 72%, 50%)
CMYKcmyk(72.4%, 0%, 54.3%, 50.2%)
CIE-LABlab(46.76, -42.26, 29.72)
CIE-LCHlch(46.76, 51.66, 144.88°)
OKLaboklab(52.69% -0.1138 0.0716)
OKLCHoklch(52.69% 0.134 147.8)
XYZxyz(9.0456, 15.8406, 6.5830)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F3A #7F2368
analogous
#3A7F23 #237F3A #237F68
triadic
#237F3A #3A237F #7F3A23
tetradic
#237F3A #233A7F #7F2368 #7F6823
square
#237F3A #233A7F #7F2368 #7F6823
split-complementary
#237F3A #68237F #7F233A
monochromatic
#091F0E #164F24 #237F3A #30AF50 #4ECE6E

Accessibility & contrast

On white

5.04
#237F3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#237F3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F3A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F3A#FFFFFF#000000##FFFFFF
##237F3A1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807334
Deuteranopia (green-blind)
#756C3F
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #237f3a;
/* rgb */ color: rgb(35, 127, 58);
/* oklch */ color: oklch(52.7% 0.134 147.8);
Tailwind
colors: {
  custom: {
    50: '#6ca572',
    500: '#237f3a',
    950: '#000000',
  },
}
SCSS
$custom: #237f3a;
$custom-light: #6ca572;
$custom-dark: #000000;
JSON
{
  "hex": "#237f3a",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 58
  },
  "hsl": {
    "h": 135,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5269,
    "c": 0.13445,
    "h": 147.8
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#237F3A
secondary
#B14C98
accent
#48BAE0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #237F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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