#237C1F#237C1F

#237C1F is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.152 H 142.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#237C1F
RGBrgb(35, 124, 31)
HSLhsl(117, 60%, 30%)
HSVhsv(117, 75%, 49%)
CMYKcmyk(71.8%, 0%, 75%, 51.4%)
CIE-LABlab(45.46, -44.44, 40.96)
CIE-LCHlch(45.46, 60.44, 137.33°)
OKLaboklab(51.52% -0.1209 0.093)
OKLCHoklch(51.52% 0.152 142.4)
XYZxyz(8.1476, 14.8707, 3.7370)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237C1F #781F7C
analogous
#527C1F #237C1F #1F7C49
triadic
#237C1F #1F237C #7C1F23
tetradic
#237C1F #1F527C #781F7C #7C491F
square
#237C1F #1F527C #781F7C #7C491F
split-complementary
#237C1F #491F7C #7C1F52
monochromatic
#071A07 #154B13 #237C1F #31AD2B #4BD045

Accessibility & contrast

On white

5.28
#237C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#237C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237C1F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237C1F#FFFFFF#000000##FFFFFF
##237C1F1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#0A786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237c1f;
/* rgb */ color: rgb(35, 124, 31);
/* oklch */ color: oklch(51.5% 0.152 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca361',
    500: '#237c1f',
    950: '#000000',
  },
}
SCSS
$custom: #237c1f;
$custom-light: #6ca361;
$custom-dark: #000000;
JSON
{
  "hex": "#237c1f",
  "rgb": {
    "r": 35,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 117.419,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51517,
    "c": 0.15247,
    "h": 142.4
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#237C1F
secondary
#AB48AF
accent
#45E3DC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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