#237A1B#237A1B

#237A1B is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.153 H 141.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#237A1B
RGBrgb(35, 122, 27)
HSLhsl(115, 64%, 29%)
HSVhsv(115, 78%, 48%)
CMYKcmyk(71.3%, 0%, 77.9%, 52.2%)
CIE-LABlab(44.74, -44.05, 41.78)
CIE-LCHlch(44.74, 60.71, 136.52°)
OKLaboklab(50.91% -0.12 0.0941)
OKLCHoklch(50.91% 0.153 141.9)
XYZxyz(7.8501, 14.3547, 3.3937)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A1B #721B7A
analogous
#537A1B #237A1B #1B7A43
triadic
#237A1B #1B237A #7A1B23
tetradic
#237A1B #1B537A #721B7A #7A431B
square
#237A1B #1B537A #721B7A #7A431B
split-complementary
#237A1B #431B7A #7A1B53
monochromatic
#071906 #154810 #237A1B #31AC26 #48D43C

Accessibility & contrast

On white

5.42
#237A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#237A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A1B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A1B#FFFFFF#000000##FFFFFF
##237A1B1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E07
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#0E7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237a1b;
/* rgb */ color: rgb(35, 122, 27);
/* oklch */ color: oklch(50.9% 0.153 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ca15f',
    500: '#237a1b',
    950: '#000000',
  },
}
SCSS
$custom: #237a1b;
$custom-light: #6ca15f;
$custom-dark: #000000;
JSON
{
  "hex": "#237a1b",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 114.947,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50912,
    "c": 0.15251,
    "h": 141.9
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

primary
#237A1B
secondary
#A543AE
accent
#41E7D9
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #237A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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