#188731#188731

#188731 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.156 H 146.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#188731
RGBrgb(24, 135, 49)
HSLhsl(134, 70%, 31%)
HSVhsv(134, 82%, 53%)
CMYKcmyk(82.2%, 0%, 63.7%, 47.1%)
CIE-LABlab(49.18, -48.15, 37.03)
CIE-LCHlch(49.18, 60.74, 142.44°)
OKLaboklab(54.6% -0.1296 0.0868)
OKLCHoklch(54.6% 0.156 146.2)
XYZxyz(9.5943, 17.7427, 5.8242)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188731 #87186E
analogous
#368718 #188731 #188768
triadic
#188731 #311887 #873118
tetradic
#188731 #183687 #87186E #876818
square
#188731 #183687 #87186E #876818
split-complementary
#188731 #681887 #871836
monochromatic
#061F0B #0F531E #188731 #21BB44 #3DDC61

Accessibility & contrast

On white

4.62
#188731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#188731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #188731
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188731#FFFFFF#000000##FFFFFF
##1887311.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A27
Deuteranopia (green-blind)
#7D7238
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #188731;
/* rgb */ color: rgb(24, 135, 49);
/* oklch */ color: oklch(54.6% 0.156 146.2);
Tailwind
colors: {
  custom: {
    50: '#6bab6c',
    500: '#188731',
    950: '#000000',
  },
}
SCSS
$custom: #188731;
$custom-light: #6bab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#188731",
  "rgb": {
    "r": 24,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 133.514,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54599,
    "c": 0.15599,
    "h": 146.2
  },
  "luminance": 0.17744
}

Semantic roles & 50–950 ramp

primary
#188731
secondary
#BB409F
accent
#3BC5ED
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #188731

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

Preview Lab → · Contrast checker → · Palette generator →

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