#237F2E#237F2E

#237F2E is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.145 H 144.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#237F2E
RGBrgb(35, 127, 46)
HSLhsl(127, 57%, 32%)
HSVhsv(127, 72%, 50%)
CMYKcmyk(72.4%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.62, -43.94, 35.60)
CIE-LCHlch(46.62, 56.55, 140.98°)
OKLaboklab(52.53% -0.1188 0.0834)
OKLCHoklch(52.53% 0.145 144.9)
XYZxyz(8.7751, 15.7324, 5.1584)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F2E #7F2374
analogous
#467F23 #237F2E #237F5C
triadic
#237F2E #2E237F #7F2E23
tetradic
#237F2E #23467F #7F2374 #7F5C23
square
#237F2E #23467F #7F2374 #7F5C23
split-complementary
#237F2E #5C237F #7F2346
monochromatic
#091F0B #164F1D #237F2E #30AF3F #4ECE5D

Accessibility & contrast

On white

5.06
#237F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#237F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F2E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F2E#FFFFFF#000000##FFFFFF
##237F2E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#766C35
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f2e;
/* rgb */ color: rgb(35, 127, 46);
/* oklch */ color: oklch(52.5% 0.145 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ca56a',
    500: '#237f2e',
    950: '#000000',
  },
}
SCSS
$custom: #237f2e;
$custom-light: #6ca56a;
$custom-dark: #000000;
JSON
{
  "hex": "#237f2e",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 127.174,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52525,
    "c": 0.14512,
    "h": 144.9
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#237F2E
secondary
#B14CA5
accent
#48CEE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #237F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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