#238716#238716

#238716 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.170 H 141.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#238716
RGBrgb(35, 135, 22)
HSLhsl(113, 72%, 31%)
HSVhsv(113, 84%, 53%)
CMYKcmyk(74.1%, 0%, 83.7%, 47.1%)
CIE-LABlab(49.18, -48.90, 47.70)
CIE-LCHlch(49.18, 68.32, 135.71°)
OKLaboklab(54.59% -0.1334 0.1057)
OKLCHoklch(54.59% 0.17 141.6)
XYZxyz(9.5014, 17.7421, 3.6827)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238716 #7A1687
analogous
#5B8716 #238716 #168741
triadic
#238716 #162387 #871623
tetradic
#238716 #165B87 #7A1687 #874116
square
#238716 #165B87 #7A1687 #874116
split-complementary
#238716 #411687 #87165B
monochromatic
#081E05 #15520D #238716 #31BC1F #4CDF39

Accessibility & contrast

On white

4.62
#238716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#238716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #238716
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238716#FFFFFF#000000##FFFFFF
##2387161.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#048373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #238716;
/* rgb */ color: rgb(35, 135, 22);
/* oklch */ color: oklch(54.6% 0.170 141.6);
Tailwind
colors: {
  custom: {
    50: '#6fab5e',
    500: '#238716',
    950: '#000000',
  },
}
SCSS
$custom: #238716;
$custom-light: #6fab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#238716",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 113.097,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54592,
    "c": 0.1702,
    "h": 141.6
  },
  "luminance": 0.17743
}

Semantic roles & 50–950 ramp

primary
#238716
secondary
#AD3EBB
accent
#39EFDA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #238716

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

Preview Lab → · Contrast checker → · Palette generator →

#238716 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva