#238F17#238F17

#238F17 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.179 H 141.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#238F17
RGBrgb(35, 143, 23)
HSLhsl(114, 72%, 33%)
HSVhsv(114, 84%, 56%)
CMYKcmyk(75.5%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.91, -51.51, 49.94)
CIE-LCHlch(51.91, 71.74, 135.89°)
OKLaboklab(56.86% -0.1404 0.1105)
OKLCHoklch(56.86% 0.179 141.8)
XYZxyz(10.6696, 20.0629, 4.1207)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F17 #83178F
analogous
#5F8F17 #238F17 #178F47
triadic
#238F17 #17238F #8F1723
tetradic
#238F17 #175F8F #83178F #8F4717
square
#238F17 #175F8F #83178F #8F4717
split-complementary
#238F17 #47178F #8F175F
monochromatic
#092606 #165A0F #238F17 #30C41F #50E040

Accessibility & contrast

On white

4.19
#238F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#238F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F17
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F17#FFFFFF#000000##000000
##238F171.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f17;
/* rgb */ color: rgb(35, 143, 23);
/* oklch */ color: oklch(56.9% 0.179 141.8);
Tailwind
colors: {
  custom: {
    50: '#71b160',
    500: '#238f17',
    950: '#000000',
  },
}
SCSS
$custom: #238f17;
$custom-light: #71b160;
$custom-dark: #000000;
JSON
{
  "hex": "#238f17",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 114,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56859,
    "c": 0.17867,
    "h": 141.8
  },
  "luminance": 0.20064
}

Semantic roles & 50–950 ramp

primary
#238F17
secondary
#B441C1
accent
#39EFDD
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #238F17

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

Preview Lab → · Contrast checker → · Palette generator →

#238F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva