#188122#188122

#188122 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.160 H 143.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#188122
RGBrgb(24, 129, 34)
HSLhsl(126, 69%, 30%)
HSVhsv(126, 81%, 51%)
CMYKcmyk(81.4%, 0%, 73.6%, 49.4%)
CIE-LABlab(46.99, -47.77, 41.27)
CIE-LCHlch(46.99, 63.12, 139.17°)
OKLaboklab(52.73% -0.1292 0.0941)
OKLCHoklch(52.73% 0.16 143.9)
XYZxyz(8.5151, 16.0092, 4.1544)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188122 #811877
analogous
#438118 #188122 #188156
triadic
#188122 #221881 #812218
tetradic
#188122 #184381 #811877 #815618
square
#188122 #184381 #811877 #815618
split-complementary
#188122 #561881 #811843
monochromatic
#051A07 #0E4D14 #188122 #22B530 #39DA49

Accessibility & contrast

On white

5.00
#188122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#188122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188122
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188122#FFFFFF#000000##FFFFFF
##1881221.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847412
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #188122;
/* rgb */ color: rgb(24, 129, 34);
/* oklch */ color: oklch(52.7% 0.160 143.9);
Tailwind
colors: {
  custom: {
    50: '#6aa763',
    500: '#188122',
    950: '#000000',
  },
}
SCSS
$custom: #188122;
$custom-light: #6aa763;
$custom-dark: #000000;
JSON
{
  "hex": "#188122",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 125.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52732,
    "c": 0.15979,
    "h": 143.9
  },
  "luminance": 0.1601
}

Semantic roles & 50–950 ramp

primary
#188122
secondary
#B540AA
accent
#3CDBEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #188122

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

Preview Lab → · Contrast checker → · Palette generator →

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