#237A2E#237A2E

#237A2E is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.139 H 145.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#237A2E
RGBrgb(35, 122, 46)
HSLhsl(128, 55%, 31%)
HSVhsv(128, 71%, 48%)
CMYKcmyk(71.3%, 0%, 62.3%, 52.2%)
CIE-LABlab(44.90, -42.07, 33.63)
CIE-LCHlch(44.90, 53.86, 141.36°)
OKLaboklab(51.1% -0.1137 0.0792)
OKLCHoklch(51.1% 0.139 145.1)
XYZxyz(8.1453, 14.4728, 4.9485)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A2E #7A236F
analogous
#437A23 #237A2E #237A59
triadic
#237A2E #2E237A #7A2E23
tetradic
#237A2E #23437A #7A236F #7A5923
square
#237A2E #23437A #7A236F #7A5923
split-complementary
#237A2E #59237A #7A2343
monochromatic
#081B0A #154A1C #237A2E #31AA40 #4CCC5C

Accessibility & contrast

On white

5.39
#237A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#237A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A2E
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A2E#FFFFFF#000000##FFFFFF
##237A2E1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F26
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#04776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237a2e;
/* rgb */ color: rgb(35, 122, 46);
/* oklch */ color: oklch(51.1% 0.139 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ba169',
    500: '#237a2e',
    950: '#000000',
  },
}
SCSS
$custom: #237a2e;
$custom-light: #6ba169;
$custom-dark: #000000;
JSON
{
  "hex": "#237a2e",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 127.586,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.13857,
    "h": 145.1
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#237A2E
secondary
#AD4CA0
accent
#49CCDF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #237A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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