#188418#188418

#188418 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.5% C 0.169 H 142.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#188418
RGBrgb(24, 132, 24)
HSLhsl(120, 69%, 31%)
HSVhsv(120, 82%, 52%)
CMYKcmyk(81.8%, 0%, 81.8%, 48.2%)
CIE-LABlab(47.96, -49.55, 45.87)
CIE-LCHlch(47.96, 67.52, 137.21°)
OKLaboklab(53.52% -0.1345 0.1022)
OKLCHoklch(53.52% 0.169 142.8)
XYZxyz(8.7923, 16.7616, 3.6359)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188418 #841884
analogous
#4E8418 #188418 #18844E
triadic
#188418 #181884 #841818
tetradic
#188418 #184E84 #841884 #844E18
square
#188418 #184E84 #841884 #844E18
split-complementary
#188418 #4E1884 #84184E
monochromatic
#051C05 #0F500F #188418 #21B821 #3BDB3B

Accessibility & contrast

On white

4.82
#188418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#188418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188418
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188418#FFFFFF#000000##FFFFFF
##1884181.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #188418;
/* rgb */ color: rgb(24, 132, 24);
/* oklch */ color: oklch(53.5% 0.169 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ba95f',
    500: '#188418',
    950: '#000000',
  },
}
SCSS
$custom: #188418;
$custom-light: #6ba95f;
$custom-dark: #000000;
JSON
{
  "hex": "#188418",
  "rgb": {
    "r": 24,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.16895,
    "h": 142.8
  },
  "luminance": 0.16763
}

Semantic roles & 50–950 ramp

primary
#188418
secondary
#B840B8
accent
#3CECEC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #188418

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

Preview Lab → · Contrast checker → · Palette generator →

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