#237A2F#237A2F

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

Color values

HEX#237A2F
RGBrgb(35, 122, 47)
HSLhsl(128, 55%, 31%)
HSVhsv(128, 71%, 48%)
CMYKcmyk(71.3%, 0%, 61.5%, 52.2%)
CIE-LABlab(44.91, -41.94, 33.15)
CIE-LCHlch(44.91, 53.46, 141.68°)
OKLaboklab(51.12% -0.1133 0.0782)
OKLCHoklch(51.12% 0.138 145.4)
XYZxyz(8.1652, 14.4807, 5.0535)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A2F #7A236E
analogous
#427A23 #237A2F #237A5A
triadic
#237A2F #2F237A #7A2F23
tetradic
#237A2F #23427A #7A236E #7A5A23
square
#237A2F #23427A #7A236E #7A5A23
split-complementary
#237A2F #5A237A #7A2342
monochromatic
#081B0A #154A1D #237A2F #31AA41 #4CCC5D

Accessibility & contrast

On white

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

On black

3.90
#237A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##237A2F#FFFFFF#000000##FFFFFF
##237A2F1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #237a2f;
/* rgb */ color: rgb(35, 122, 47);
/* oklch */ color: oklch(51.1% 0.138 145.4);
Tailwind
colors: {
  custom: {
    50: '#6ba16a',
    500: '#237a2f',
    950: '#000000',
  },
}
SCSS
$custom: #237a2f;
$custom-light: #6ba16a;
$custom-dark: #000000;
JSON
{
  "hex": "#237a2f",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 128.276,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.1377,
    "h": 145.4
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#237A2F
secondary
#AD4C9F
accent
#49CADF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #237A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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