#237A3B#237A3B

#237A3B is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.127 H 148.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#237A3B
RGBrgb(35, 122, 59)
HSLhsl(137, 55%, 31%)
HSVhsv(137, 71%, 48%)
CMYKcmyk(71.3%, 0%, 51.6%, 52.2%)
CIE-LABlab(45.07, -40.15, 27.09)
CIE-LCHlch(45.07, 48.43, 145.99°)
OKLaboklab(51.29% -0.1082 0.0657)
OKLCHoklch(51.29% 0.127 148.7)
XYZxyz(8.4414, 14.5912, 6.5083)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A3B #7A2362
analogous
#367A23 #237A3B #237A66
triadic
#237A3B #3B237A #7A3B23
tetradic
#237A3B #23367A #7A2362 #7A6623
square
#237A3B #23367A #7A2362 #7A6623
split-complementary
#237A3B #66237A #7A2336
monochromatic
#081B0D #154A24 #237A3B #31AA52 #4CCC6F

Accessibility & contrast

On white

5.36
#237A3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#237A3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A3B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A3B#FFFFFF#000000##FFFFFF
##237A3B1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F36
Deuteranopia (green-blind)
#716840
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237a3b;
/* rgb */ color: rgb(35, 122, 59);
/* oklch */ color: oklch(51.3% 0.127 148.7);
Tailwind
colors: {
  custom: {
    50: '#6aa172',
    500: '#237a3b',
    950: '#000000',
  },
}
SCSS
$custom: #237a3b;
$custom-light: #6aa172;
$custom-dark: #000000;
JSON
{
  "hex": "#237a3b",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 59
  },
  "hsl": {
    "h": 136.552,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51294,
    "c": 0.12657,
    "h": 148.7
  },
  "luminance": 0.14592
}

Semantic roles & 50–950 ramp

primary
#237A3B
secondary
#AD4C92
accent
#49B5DF
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #237A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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