#237A2D#237A2D

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

Color values

HEX#237A2D
RGBrgb(35, 122, 45)
HSLhsl(127, 55%, 31%)
HSVhsv(127, 71%, 48%)
CMYKcmyk(71.3%, 0%, 63.1%, 52.2%)
CIE-LABlab(44.89, -42.20, 34.11)
CIE-LCHlch(44.89, 54.26, 141.05°)
OKLaboklab(51.09% -0.1141 0.0801)
OKLCHoklch(51.09% 0.139 144.9)
XYZxyz(8.1258, 14.4650, 4.8459)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A2D #7A2370
analogous
#447A23 #237A2D #237A58
triadic
#237A2D #2D237A #7A2D23
tetradic
#237A2D #23447A #7A2370 #7A5823
square
#237A2D #23447A #7A2370 #7A5823
split-complementary
#237A2D #58237A #7A2344
monochromatic
#081B0A #154A1B #237A2D #31AA3F #4CCC5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237A2D#FFFFFF#000000##FFFFFF
##237A2D1.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)
#7C6F25
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#057769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237a2d;
/* rgb */ color: rgb(35, 122, 45);
/* oklch */ color: oklch(51.1% 0.139 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ba169',
    500: '#237a2d',
    950: '#000000',
  },
}
SCSS
$custom: #237a2d;
$custom-light: #6ba169;
$custom-dark: #000000;
JSON
{
  "hex": "#237a2d",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 126.897,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.13942,
    "h": 144.9
  },
  "luminance": 0.14466
}

Semantic roles & 50–950 ramp

primary
#237A2D
secondary
#AD4CA2
accent
#49CEDF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #237A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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