#188020#188020

#188020 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.160 H 143.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#188020
RGBrgb(24, 128, 32)
HSLhsl(125, 68%, 30%)
HSVhsv(125, 81%, 50%)
CMYKcmyk(81.3%, 0%, 75%, 49.8%)
CIE-LABlab(46.63, -47.61, 41.69)
CIE-LCHlch(46.63, 63.29, 138.79°)
OKLaboklab(52.43% -0.1289 0.0947)
OKLCHoklch(52.43% 0.16 143.7)
XYZxyz(8.3560, 15.7358, 3.9631)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188020 #801878
analogous
#448018 #188020 #188054
triadic
#188020 #201880 #802018
tetradic
#188020 #184480 #801878 #805418
square
#188020 #184480 #801878 #805418
split-complementary
#188020 #541880 #801844
monochromatic
#051A06 #0E4C13 #188020 #22B42D #39DA45

Accessibility & contrast

On white

5.06
#188020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#188020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188020
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188020#FFFFFF#000000##FFFFFF
##1880201.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #188020;
/* rgb */ color: rgb(24, 128, 32);
/* oklch */ color: oklch(52.4% 0.160 143.7);
Tailwind
colors: {
  custom: {
    50: '#6aa662',
    500: '#188020',
    950: '#000000',
  },
}
SCSS
$custom: #188020;
$custom-light: #6aa662;
$custom-dark: #000000;
JSON
{
  "hex": "#188020",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 124.615,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52427,
    "c": 0.1599,
    "h": 143.7
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#188020
secondary
#B440AB
accent
#3DDEEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #188020

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

Preview Lab → · Contrast checker → · Palette generator →

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