#237A28#237A28

#237A28 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.144 H 143.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#237A28
RGBrgb(35, 122, 40)
HSLhsl(123, 55%, 31%)
HSVhsv(123, 71%, 48%)
CMYKcmyk(71.3%, 0%, 67.2%, 52.2%)
CIE-LABlab(44.84, -42.80, 36.43)
CIE-LCHlch(44.84, 56.21, 139.60°)
OKLaboklab(51.03% -0.116 0.0846)
OKLCHoklch(51.03% 0.144 143.9)
XYZxyz(8.0352, 14.4287, 4.3686)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A28 #7A2375
analogous
#497A23 #237A28 #237A53
triadic
#237A28 #28237A #7A2823
tetradic
#237A28 #23497A #7A2375 #7A5323
square
#237A28 #23497A #7A2375 #7A5323
split-complementary
#237A28 #53237A #7A2349
monochromatic
#081B09 #154A18 #237A28 #31AA38 #4CCC53

Accessibility & contrast

On white

5.40
#237A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #237A28
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A28#FFFFFF#000000##FFFFFF
##237A281.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#087769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237a28;
/* rgb */ color: rgb(35, 122, 40);
/* oklch */ color: oklch(51.0% 0.144 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ba166',
    500: '#237a28',
    950: '#000000',
  },
}
SCSS
$custom: #237a28;
$custom-light: #6ba166;
$custom-dark: #000000;
JSON
{
  "hex": "#237a28",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 123.448,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.14352,
    "h": 143.9
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#237A28
secondary
#AD4CA7
accent
#49D6DF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #237A28

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

Preview Lab → · Contrast checker → · Palette generator →

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