#237A2B#237A2B

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

Color values

HEX#237A2B
RGBrgb(35, 122, 43)
HSLhsl(126, 55%, 31%)
HSVhsv(126, 71%, 48%)
CMYKcmyk(71.3%, 0%, 64.8%, 52.2%)
CIE-LABlab(44.87, -42.45, 35.05)
CIE-LCHlch(44.87, 55.05, 140.45°)
OKLaboklab(51.07% -0.1149 0.0819)
OKLCHoklch(51.07% 0.141 144.5)
XYZxyz(8.0882, 14.4499, 4.6479)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A2B #7A2372
analogous
#467A23 #237A2B #237A56
triadic
#237A2B #2B237A #7A2B23
tetradic
#237A2B #23467A #7A2372 #7A5623
square
#237A2B #23467A #7A2372 #7A5623
split-complementary
#237A2B #56237A #7A2346
monochromatic
#081B09 #154A1A #237A2B #31AA3C #4CCC58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237A2B#FFFFFF#000000##FFFFFF
##237A2B1.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)
#7C6E22
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#067769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237a2b;
/* rgb */ color: rgb(35, 122, 43);
/* oklch */ color: oklch(51.1% 0.141 144.5);
Tailwind
colors: {
  custom: {
    50: '#6ba168',
    500: '#237a2b',
    950: '#000000',
  },
}
SCSS
$custom: #237a2b;
$custom-light: #6ba168;
$custom-dark: #000000;
JSON
{
  "hex": "#237a2b",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 125.517,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51066,
    "c": 0.1411,
    "h": 144.5
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#237A2B
secondary
#AD4CA4
accent
#49D1DF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #237A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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