#237F1D#237F1D

#237F1D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.157 H 142.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#237F1D
RGBrgb(35, 127, 29)
HSLhsl(116, 63%, 31%)
HSVhsv(116, 77%, 50%)
CMYKcmyk(72.4%, 0%, 77.2%, 50.2%)
CIE-LABlab(46.48, -45.67, 42.77)
CIE-LCHlch(46.48, 62.57, 136.88°)
OKLaboklab(52.36% -0.1243 0.0964)
OKLCHoklch(52.36% 0.157 142.2)
XYZxyz(8.5038, 15.6239, 3.7297)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F1D #791D7F
analogous
#547F1D #237F1D #1D7F48
triadic
#237F1D #1D237F #7F1D23
tetradic
#237F1D #1D547F #791D7F #7F481D
square
#237F1D #1D547F #791D7F #7F481D
split-complementary
#237F1D #481D7F #7F1D54
monochromatic
#081B06 #154D12 #237F1D #31B128 #4BD442

Accessibility & contrast

On white

5.09
#237F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#237F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F1D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F1D#FFFFFF#000000##FFFFFF
##237F1D1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827309
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#097B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f1d;
/* rgb */ color: rgb(35, 127, 29);
/* oklch */ color: oklch(52.4% 0.157 142.2);
Tailwind
colors: {
  custom: {
    50: '#6da560',
    500: '#237f1d',
    950: '#000000',
  },
}
SCSS
$custom: #237f1d;
$custom-light: #6da560;
$custom-dark: #000000;
JSON
{
  "hex": "#237f1d",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 116.327,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52359,
    "c": 0.15731,
    "h": 142.2
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#237F1D
secondary
#AC45B2
accent
#42E6DC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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