#237E28#237E28

#237E28 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.149 H 143.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#237E28
RGBrgb(35, 126, 40)
HSLhsl(123, 57%, 32%)
HSVhsv(123, 72%, 49%)
CMYKcmyk(72.2%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.22, -44.27, 37.94)
CIE-LCHlch(46.22, 58.31, 139.40°)
OKLaboklab(52.17% -0.1199 0.0878)
OKLCHoklch(52.17% 0.149 143.8)
XYZxyz(8.5365, 15.4313, 4.5357)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237E28 #7E2379
analogous
#4C7E23 #237E28 #237E56
triadic
#237E28 #28237E #7E2823
tetradic
#237E28 #234C7E #7E2379 #7E5623
square
#237E28 #234C7E #7E2379 #7E5623
split-complementary
#237E28 #56237E #7E234C
monochromatic
#081E0A #164E19 #237E28 #30AE37 #4ECE55

Accessibility & contrast

On white

5.14
#237E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#237E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237E28
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237E28#FFFFFF#000000##FFFFFF
##237E281.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721D
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#047A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237e28;
/* rgb */ color: rgb(35, 126, 40);
/* oklch */ color: oklch(52.2% 0.149 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ca466',
    500: '#237e28',
    950: '#000000',
  },
}
SCSS
$custom: #237e28;
$custom-light: #6ca466;
$custom-dark: #000000;
JSON
{
  "hex": "#237e28",
  "rgb": {
    "r": 35,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 123.297,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52173,
    "c": 0.14862,
    "h": 143.8
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#237E28
secondary
#B04CAB
accent
#48D7E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #237E28

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

Preview Lab → · Contrast checker → · Palette generator →

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