#188117#188117

#188117 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.166 H 142.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#188117
RGBrgb(24, 129, 23)
HSLhsl(119, 70%, 30%)
HSVhsv(119, 82%, 51%)
CMYKcmyk(81.4%, 0%, 82.2%, 49.4%)
CIE-LABlab(46.92, -48.64, 45.20)
CIE-LCHlch(46.92, 66.40, 137.10°)
OKLaboklab(52.65% -0.1321 0.1007)
OKLCHoklch(52.65% 0.166 142.7)
XYZxyz(8.3811, 15.9556, 3.4485)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188117 #801781
analogous
#4D8117 #188117 #17814B
triadic
#188117 #171881 #811718
tetradic
#188117 #174D81 #801781 #814B17
square
#188117 #174D81 #801781 #814B17
split-complementary
#188117 #4B1781 #81174D
monochromatic
#051A05 #0E4D0E #188117 #22B520 #39DB37

Accessibility & contrast

On white

5.01
#188117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#188117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188117
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188117#FFFFFF#000000##FFFFFF
##1881171.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #188117;
/* rgb */ color: rgb(24, 129, 23);
/* oklch */ color: oklch(52.7% 0.166 142.7);
Tailwind
colors: {
  custom: {
    50: '#6aa75e',
    500: '#188117',
    950: '#000000',
  },
}
SCSS
$custom: #188117;
$custom-light: #6aa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#188117",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 119.434,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.16609,
    "h": 142.7
  },
  "luminance": 0.15957
}

Semantic roles & 50–950 ramp

primary
#188117
secondary
#B43EB5
accent
#3BEDEB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #188117

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

Preview Lab → · Contrast checker → · Palette generator →

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