#237B1F#237B1F

#237B1F is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.151 H 142.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#237B1F
RGBrgb(35, 123, 31)
HSLhsl(117, 60%, 30%)
HSVhsv(117, 75%, 48%)
CMYKcmyk(71.5%, 0%, 74.8%, 51.8%)
CIE-LABlab(45.11, -44.08, 40.61)
CIE-LCHlch(45.11, 59.93, 137.34°)
OKLaboklab(51.23% -0.1199 0.0922)
OKLCHoklch(51.23% 0.151 142.4)
XYZxyz(8.0230, 14.6213, 3.6954)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B1F #771F7B
analogous
#517B1F #237B1F #1F7B49
triadic
#237B1F #1F237B #7B1F23
tetradic
#237B1F #1F517B #771F7B #7B491F
square
#237B1F #1F517B #771F7B #7B491F
split-complementary
#237B1F #491F7B #7B1F51
monochromatic
#071906 #154A13 #237B1F #31AC2B #4AD044

Accessibility & contrast

On white

5.35
#237B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#237B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B1F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B1F#FFFFFF#000000##FFFFFF
##237B1F1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0F
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#0B7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b1f;
/* rgb */ color: rgb(35, 123, 31);
/* oklch */ color: oklch(51.2% 0.151 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca261',
    500: '#237b1f',
    950: '#000000',
  },
}
SCSS
$custom: #237b1f;
$custom-light: #6ca261;
$custom-dark: #000000;
JSON
{
  "hex": "#237b1f",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 117.391,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51231,
    "c": 0.15125,
    "h": 142.4
  },
  "luminance": 0.14622
}

Semantic roles & 50–950 ramp

primary
#237B1F
secondary
#AA48AE
accent
#45E3DC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #237B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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