#237C2A#237C2A

#237C2A is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.145 H 144.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#237C2A
RGBrgb(35, 124, 42)
HSLhsl(125, 56%, 31%)
HSVhsv(125, 72%, 49%)
CMYKcmyk(71.8%, 0%, 66.1%, 51.4%)
CIE-LABlab(45.55, -43.31, 36.29)
CIE-LCHlch(45.55, 56.51, 140.04°)
OKLaboklab(51.63% -0.1172 0.0845)
OKLCHoklch(51.63% 0.145 144.2)
XYZxyz(8.3182, 14.9389, 4.6352)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237C2A #7C2375
analogous
#487C23 #237C2A #237C56
triadic
#237C2A #2A237C #7C2A23
tetradic
#237C2A #23487C #7C2375 #7C5623
square
#237C2A #23487C #7C2375 #7C5623
split-complementary
#237C2A #56237C #7C2348
monochromatic
#081D0A #164C1A #237C2A #30AC3A #4DCD57

Accessibility & contrast

On white

5.27
#237C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#237C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237C2A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237C2A#FFFFFF#000000##FFFFFF
##237C2A1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#05796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237c2a;
/* rgb */ color: rgb(35, 124, 42);
/* oklch */ color: oklch(51.6% 0.145 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ca367',
    500: '#237c2a',
    950: '#000000',
  },
}
SCSS
$custom: #237c2a;
$custom-light: #6ca367;
$custom-dark: #000000;
JSON
{
  "hex": "#237c2a",
  "rgb": {
    "r": 35,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 124.719,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.14451,
    "h": 144.2
  },
  "luminance": 0.1494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #237C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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