#237E1F#237E1F

#237E1F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.155 H 142.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#237E1F
RGBrgb(35, 126, 31)
HSLhsl(117, 61%, 31%)
HSVhsv(117, 75%, 49%)
CMYKcmyk(72.2%, 0%, 75.4%, 50.6%)
CIE-LABlab(46.15, -45.15, 41.67)
CIE-LCHlch(46.15, 61.44, 137.30°)
OKLaboklab(52.09% -0.1228 0.0944)
OKLCHoklch(52.09% 0.155 142.4)
XYZxyz(8.4008, 15.3771, 3.8214)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237E1F #7A1F7E
analogous
#527E1F #237E1F #1F7E4A
triadic
#237E1F #1F237E #7E1F23
tetradic
#237E1F #1F527E #7A1F7E #7E4A1F
square
#237E1F #1F527E #7A1F7E #7E4A1F
split-complementary
#237E1F #4A1F7E #7E1F52
monochromatic
#081C07 #154D13 #237E1F #31AF2B #4CD146

Accessibility & contrast

On white

5.15
#237E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#237E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237E1F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237E1F#FFFFFF#000000##FFFFFF
##237E1F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#766B29
Tritanopia (blue-blind)
#097A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237e1f;
/* rgb */ color: rgb(35, 126, 31);
/* oklch */ color: oklch(52.1% 0.155 142.4);
Tailwind
colors: {
  custom: {
    50: '#6da461',
    500: '#237e1f',
    950: '#000000',
  },
}
SCSS
$custom: #237e1f;
$custom-light: #6da461;
$custom-dark: #000000;
JSON
{
  "hex": "#237e1f",
  "rgb": {
    "r": 35,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 117.474,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52089,
    "c": 0.1549,
    "h": 142.4
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#237E1F
secondary
#AD48B1
accent
#44E4DD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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