#188118#188118

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

Color values

HEX#188118
RGBrgb(24, 129, 24)
HSLhsl(120, 69%, 30%)
HSVhsv(120, 81%, 51%)
CMYKcmyk(81.4%, 0%, 81.4%, 49.4%)
CIE-LABlab(46.92, -48.57, 44.88)
CIE-LCHlch(46.92, 66.13, 137.26°)
OKLaboklab(52.66% -0.1318 0.1002)
OKLCHoklch(52.66% 0.166 142.8)
XYZxyz(8.3913, 15.9596, 3.5022)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188118 #811881
analogous
#4D8118 #188118 #18814D
triadic
#188118 #181881 #811818
tetradic
#188118 #184C81 #811881 #814C18
square
#188118 #184C81 #811881 #814C18
split-complementary
#188118 #4C1881 #81184D
monochromatic
#051A05 #0E4D0E #188118 #22B522 #39DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188118#FFFFFF#000000##FFFFFF
##1881181.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)
#796C25
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #188118;
/* rgb */ color: rgb(24, 129, 24);
/* oklch */ color: oklch(52.7% 0.166 142.8);
Tailwind
colors: {
  custom: {
    50: '#6aa75e',
    500: '#188118',
    950: '#000000',
  },
}
SCSS
$custom: #188118;
$custom-light: #6aa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#188118",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52657,
    "c": 0.16559,
    "h": 142.8
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

primary
#188118
secondary
#B540B5
accent
#3CEBEB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #188118

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

Preview Lab → · Contrast checker → · Palette generator →

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