#188227#188227

#188227 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.158 H 144.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#188227
RGBrgb(24, 130, 39)
HSLhsl(128, 69%, 30%)
HSVhsv(128, 82%, 51%)
CMYKcmyk(81.5%, 0%, 70%, 49%)
CIE-LABlab(47.37, -47.60, 39.57)
CIE-LCHlch(47.37, 61.90, 140.26°)
OKLaboklab(53.07% -0.1285 0.0911)
OKLCHoklch(53.07% 0.158 144.7)
XYZxyz(8.7249, 16.3049, 4.6064)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188227 #821873
analogous
#3E8218 #188227 #18825C
triadic
#188227 #271882 #822718
tetradic
#188227 #183E82 #821873 #825C18
square
#188227 #183E82 #821873 #825C18
split-complementary
#188227 #5C1882 #82183E
monochromatic
#051B08 #0E4E18 #188227 #22B636 #3ADB51

Accessibility & contrast

On white

4.93
#188227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#188227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188227
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188227#FFFFFF#000000##FFFFFF
##1882271.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751A
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #188227;
/* rgb */ color: rgb(24, 130, 39);
/* oklch */ color: oklch(53.1% 0.158 144.7);
Tailwind
colors: {
  custom: {
    50: '#6aa766',
    500: '#188227',
    950: '#000000',
  },
}
SCSS
$custom: #188227;
$custom-light: #6aa766;
$custom-dark: #000000;
JSON
{
  "hex": "#188227",
  "rgb": {
    "r": 24,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 128.491,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53065,
    "c": 0.15754,
    "h": 144.7
  },
  "luminance": 0.16306
}

Semantic roles & 50–950 ramp

primary
#188227
secondary
#B640A5
accent
#3CD3EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #188227

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

Preview Lab → · Contrast checker → · Palette generator →

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