#237F2C#237F2C

#237F2C is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.147 H 144.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#237F2C
RGBrgb(35, 127, 44)
HSLhsl(126, 57%, 32%)
HSVhsv(126, 72%, 50%)
CMYKcmyk(72.4%, 0%, 65.4%, 50.2%)
CIE-LABlab(46.60, -44.18, 36.53)
CIE-LCHlch(46.60, 57.32, 140.42°)
OKLaboklab(52.5% -0.1195 0.0852)
OKLCHoklch(52.5% 0.147 144.5)
XYZxyz(8.7366, 15.7170, 4.9556)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F2C #7F2376
analogous
#487F23 #237F2C #237F5A
triadic
#237F2C #2C237F #7F2C23
tetradic
#237F2C #23487F #7F2376 #7F5A23
square
#237F2C #23487F #7F2376 #7F5A23
split-complementary
#237F2C #5A237F #7F2348
monochromatic
#091F0B #164F1B #237F2C #30AF3D #4ECE5B

Accessibility & contrast

On white

5.07
#237F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#237F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F2C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F2C#FFFFFF#000000##FFFFFF
##237F2C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817322
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#017C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f2c;
/* rgb */ color: rgb(35, 127, 44);
/* oklch */ color: oklch(52.5% 0.147 144.5);
Tailwind
colors: {
  custom: {
    50: '#6ca569',
    500: '#237f2c',
    950: '#000000',
  },
}
SCSS
$custom: #237f2c;
$custom-light: #6ca569;
$custom-dark: #000000;
JSON
{
  "hex": "#237f2c",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 125.87,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52502,
    "c": 0.14677,
    "h": 144.5
  },
  "luminance": 0.15718
}

Semantic roles & 50–950 ramp

primary
#237F2C
secondary
#B14CA7
accent
#48D1E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #237F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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