#188A1B#188A1B

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

Color values

HEX#188A1B
RGBrgb(24, 138, 27)
HSLhsl(122, 70%, 32%)
HSVhsv(122, 83%, 54%)
CMYKcmyk(82.6%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.04, -51.28, 46.88)
CIE-LCHlch(50.04, 69.48, 137.57°)
OKLaboklab(55.25% -0.1391 0.1048)
OKLCHoklch(55.25% 0.174 143)
XYZxyz(9.6624, 18.4491, 4.0885)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188A1B #8A1887
analogous
#4E8A18 #188A1B #188A54
triadic
#188A1B #1B188A #8A1B18
tetradic
#188A1B #184E8A #8A1887 #8A5418
square
#188A1B #184E8A #8A1887 #8A5418
split-complementary
#188A1B #54188A #8A184E
monochromatic
#062207 #0F5611 #188A1B #21BE25 #3FDE43

Accessibility & contrast

On white

4.48
#188A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##188A1B#FFFFFF#000000##000000
##188A1B1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #188a1b;
/* rgb */ color: rgb(24, 138, 27);
/* oklch */ color: oklch(55.3% 0.174 143.0);
Tailwind
colors: {
  custom: {
    50: '#6cad61',
    500: '#188a1b',
    950: '#000000',
  },
}
SCSS
$custom: #188a1b;
$custom-light: #6cad61;
$custom-dark: #000000;
JSON
{
  "hex": "#188a1b",
  "rgb": {
    "r": 24,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 121.579,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55254,
    "c": 0.17412,
    "h": 143
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#188A1B
secondary
#BD40BA
accent
#3BE8ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #188A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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