#188031#188031

#188031 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.147 H 146.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#188031
RGBrgb(24, 128, 49)
HSLhsl(134, 68%, 30%)
HSVhsv(134, 81%, 50%)
CMYKcmyk(81.3%, 0%, 61.7%, 49.8%)
CIE-LABlab(46.78, -45.71, 34.27)
CIE-LCHlch(46.78, 57.13, 143.14°)
OKLaboklab(52.61% -0.123 0.0809)
OKLCHoklch(52.61% 0.147 146.7)
XYZxyz(8.6496, 15.8532, 5.5093)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188031 #801867
analogous
#338018 #188031 #188065
triadic
#188031 #311880 #803118
tetradic
#188031 #183380 #801867 #806518
square
#188031 #183380 #801867 #806518
split-complementary
#188031 #651880 #801833
monochromatic
#051A0A #0E4C1D #188031 #22B445 #39DA5F

Accessibility & contrast

On white

5.04
#188031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#188031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188031
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188031#FFFFFF#000000##FFFFFF
##1880311.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#766C38
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #188031;
/* rgb */ color: rgb(24, 128, 49);
/* oklch */ color: oklch(52.6% 0.147 146.7);
Tailwind
colors: {
  custom: {
    50: '#69a66c',
    500: '#188031',
    950: '#000000',
  },
}
SCSS
$custom: #188031;
$custom-light: #69a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#188031",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 134.423,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.1472,
    "h": 146.7
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#188031
secondary
#B44098
accent
#3DC1EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #188031

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

Preview Lab → · Contrast checker → · Palette generator →

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