#237A2C#237A2C

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

Color values

HEX#237A2C
RGBrgb(35, 122, 44)
HSLhsl(126, 55%, 31%)
HSVhsv(126, 71%, 48%)
CMYKcmyk(71.3%, 0%, 63.9%, 52.2%)
CIE-LABlab(44.88, -42.33, 34.58)
CIE-LCHlch(44.88, 54.66, 140.75°)
OKLaboklab(51.08% -0.1145 0.081)
OKLCHoklch(51.08% 0.14 144.7)
XYZxyz(8.1068, 14.4574, 4.7457)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A2C #7A2371
analogous
#457A23 #237A2C #237A57
triadic
#237A2C #2C237A #7A2C23
tetradic
#237A2C #23457A #7A2371 #7A5723
square
#237A2C #23457A #7A2371 #7A5723
split-complementary
#237A2C #57237A #7A2345
monochromatic
#081B0A #154A1B #237A2C #31AA3D #4CCC59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237A2C#FFFFFF#000000##FFFFFF
##237A2C1.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)
#7C6F23
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#057769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237a2c;
/* rgb */ color: rgb(35, 122, 44);
/* oklch */ color: oklch(51.1% 0.140 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ba168',
    500: '#237a2c',
    950: '#000000',
  },
}
SCSS
$custom: #237a2c;
$custom-light: #6ba168;
$custom-dark: #000000;
JSON
{
  "hex": "#237a2c",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 126.207,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51078,
    "c": 0.14027,
    "h": 144.7
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#237A2C
secondary
#AD4CA3
accent
#49CFDF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #237A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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