#188F2D#188F2D

#188F2D is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.169 H 145.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#188F2D
RGBrgb(24, 143, 45)
HSLhsl(131, 71%, 33%)
HSVhsv(131, 83%, 56%)
CMYKcmyk(83.2%, 0%, 68.5%, 43.9%)
CIE-LABlab(51.87, -51.32, 41.83)
CIE-LCHlch(51.87, 66.20, 140.82°)
OKLaboklab(56.82% -0.1384 0.0966)
OKLCHoklch(56.82% 0.169 145.1)
XYZxyz(10.6720, 20.0273, 5.7853)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F2D #8F187A
analogous
#3F8F18 #188F2D #188F68
triadic
#188F2D #2D188F #8F2D18
tetradic
#188F2D #183F8F #8F187A #8F6818
square
#188F2D #183F8F #8F187A #8F6818
split-complementary
#188F2D #68188F #8F183F
monochromatic
#06260C #0F5B1D #188F2D #21C33D #42DF5E

Accessibility & contrast

On white

4.20
#188F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#188F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F2D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F2D#FFFFFF#000000##000000
##188F2D1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #188f2d;
/* rgb */ color: rgb(24, 143, 45);
/* oklch */ color: oklch(56.8% 0.169 145.1);
Tailwind
colors: {
  custom: {
    50: '#6db16b',
    500: '#188f2d',
    950: '#000000',
  },
}
SCSS
$custom: #188f2d;
$custom-light: #6db16b;
$custom-dark: #000000;
JSON
{
  "hex": "#188f2d",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 130.588,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56819,
    "c": 0.16874,
    "h": 145.1
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#188F2D
secondary
#C043AA
accent
#3ACEEE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #188F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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