#188A1F#188A1F

#188A1F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.172 H 143.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#188A1F
RGBrgb(24, 138, 31)
HSLhsl(124, 70%, 32%)
HSVhsv(124, 83%, 54%)
CMYKcmyk(82.6%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.06, -50.99, 45.53)
CIE-LCHlch(50.06, 68.36, 138.24°)
OKLaboklab(55.28% -0.1381 0.1025)
OKLCHoklch(55.28% 0.172 143.4)
XYZxyz(9.7118, 18.4689, 4.3491)
Luminance0.1847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188A1F #8A1883
analogous
#4A8A18 #188A1F #188A58
triadic
#188A1F #1F188A #8A1F18
tetradic
#188A1F #184A8A #8A1883 #8A5818
square
#188A1F #184A8A #8A1883 #8A5818
split-complementary
#188A1F #58188A #8A184A
monochromatic
#062208 #0F5613 #188A1F #21BE2B #3FDE49

Accessibility & contrast

On white

4.47
#188A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#188A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188A1F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188A1F#FFFFFF#000000##000000
##188A1F1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #188a1f;
/* rgb */ color: rgb(24, 138, 31);
/* oklch */ color: oklch(55.3% 0.172 143.4);
Tailwind
colors: {
  custom: {
    50: '#6cad63',
    500: '#188a1f',
    950: '#000000',
  },
}
SCSS
$custom: #188a1f;
$custom-light: #6cad63;
$custom-dark: #000000;
JSON
{
  "hex": "#188a1f",
  "rgb": {
    "r": 24,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 123.684,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55281,
    "c": 0.17199,
    "h": 143.4
  },
  "luminance": 0.1847
}

Semantic roles & 50–950 ramp

primary
#188A1F
secondary
#BD40B6
accent
#3BE2ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#188A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva