#237A1F#237A1F

#237A1F is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.150 H 142.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#237A1F
RGBrgb(35, 122, 31)
HSLhsl(117, 59%, 30%)
HSVhsv(117, 75%, 48%)
CMYKcmyk(71.3%, 0%, 74.6%, 52.2%)
CIE-LABlab(44.77, -43.72, 40.26)
CIE-LCHlch(44.77, 59.43, 137.36°)
OKLaboklab(50.94% -0.1189 0.0915)
OKLCHoklch(50.94% 0.15 142.4)
XYZxyz(7.8995, 14.3745, 3.6543)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A1F #761F7A
analogous
#507A1F #237A1F #1F7A49
triadic
#237A1F #1F237A #7A1F23
tetradic
#237A1F #1F507A #761F7A #7A491F
square
#237A1F #1F507A #761F7A #7A491F
split-complementary
#237A1F #491F7A #7A1F50
monochromatic
#071806 #154913 #237A1F #31AB2B #4ACF44

Accessibility & contrast

On white

5.42
#237A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#237A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A1F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A1F#FFFFFF#000000##FFFFFF
##237A1F1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#0C7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237a1f;
/* rgb */ color: rgb(35, 122, 31);
/* oklch */ color: oklch(50.9% 0.150 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca161',
    500: '#237a1f',
    950: '#000000',
  },
}
SCSS
$custom: #237a1f;
$custom-light: #6ca161;
$custom-dark: #000000;
JSON
{
  "hex": "#237a1f",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 117.363,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.15002,
    "h": 142.4
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#237A1F
secondary
#A947AD
accent
#45E3DC
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #237A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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