#237A2A#237A2A

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

Color values

HEX#237A2A
RGBrgb(35, 122, 42)
HSLhsl(125, 55%, 31%)
HSVhsv(125, 71%, 48%)
CMYKcmyk(71.3%, 0%, 65.6%, 52.2%)
CIE-LABlab(44.86, -42.57, 35.52)
CIE-LCHlch(44.86, 55.44, 140.16°)
OKLaboklab(51.05% -0.1152 0.0828)
OKLCHoklch(51.05% 0.142 144.3)
XYZxyz(8.0701, 14.4427, 4.5525)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A2A #7A2373
analogous
#477A23 #237A2A #237A55
triadic
#237A2A #2A237A #7A2A23
tetradic
#237A2A #23477A #7A2373 #7A5523
square
#237A2A #23477A #7A2373 #7A5523
split-complementary
#237A2A #55237A #7A2347
monochromatic
#081B09 #154A1A #237A2A #31AA3A #4CCC56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237A2A#FFFFFF#000000##FFFFFF
##237A2A1.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)
#7C6E21
Deuteranopia (green-blind)
#726731
Tritanopia (blue-blind)
#077769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237a2a;
/* rgb */ color: rgb(35, 122, 42);
/* oklch */ color: oklch(51.1% 0.142 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ba167',
    500: '#237a2a',
    950: '#000000',
  },
}
SCSS
$custom: #237a2a;
$custom-light: #6ba167;
$custom-dark: #000000;
JSON
{
  "hex": "#237a2a",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 124.828,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.14192,
    "h": 144.3
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#237A2A
secondary
#AD4CA5
accent
#49D3DF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #237A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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