#237B2A#237B2A

#237B2A is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.143 H 144.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#237B2A
RGBrgb(35, 123, 42)
HSLhsl(125, 56%, 31%)
HSVhsv(125, 72%, 48%)
CMYKcmyk(71.5%, 0%, 65.9%, 51.8%)
CIE-LABlab(45.21, -42.94, 35.90)
CIE-LCHlch(45.21, 55.97, 140.10°)
OKLaboklab(51.34% -0.1162 0.0837)
OKLCHoklch(51.34% 0.143 144.3)
XYZxyz(8.1935, 14.6895, 4.5936)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B2A #7B2374
analogous
#487B23 #237B2A #237B56
triadic
#237B2A #2A237B #7B2A23
tetradic
#237B2A #23487B #7B2374 #7B5623
square
#237B2A #23487B #7B2374 #7B5623
split-complementary
#237B2A #56237B #7B2348
monochromatic
#081C09 #154B1A #237B2A #31AB3A #4CCC56

Accessibility & contrast

On white

5.33
#237B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#237B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B2A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B2A#FFFFFF#000000##FFFFFF
##237B2A1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F20
Deuteranopia (green-blind)
#736831
Tritanopia (blue-blind)
#06786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b2a;
/* rgb */ color: rgb(35, 123, 42);
/* oklch */ color: oklch(51.3% 0.143 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ba267',
    500: '#237b2a',
    950: '#000000',
  },
}
SCSS
$custom: #237b2a;
$custom-light: #6ba267;
$custom-dark: #000000;
JSON
{
  "hex": "#237b2a",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 124.773,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5134,
    "c": 0.14322,
    "h": 144.3
  },
  "luminance": 0.1469
}

Semantic roles & 50–950 ramp

primary
#237B2A
secondary
#AE4CA6
accent
#49D3DF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #237B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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