#188138#188138

#188138 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.142 H 148.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#188138
RGBrgb(24, 129, 56)
HSLhsl(138, 69%, 30%)
HSVhsv(138, 81%, 51%)
CMYKcmyk(81.4%, 0%, 56.6%, 49.4%)
CIE-LABlab(47.21, -45.06, 31.25)
CIE-LCHlch(47.21, 54.84, 145.26°)
OKLaboklab(52.99% -0.1211 0.0748)
OKLCHoklch(52.99% 0.142 148.3)
XYZxyz(8.9400, 16.1791, 6.3923)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188138 #811861
analogous
#2C8118 #188138 #18816D
triadic
#188138 #381881 #813818
tetradic
#188138 #182C81 #811861 #816D18
square
#188138 #182C81 #811861 #816D18
split-complementary
#188138 #6D1881 #81182C
monochromatic
#051A0B #0E4D22 #188138 #22B54E #39DA6A

Accessibility & contrast

On white

4.96
#188138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#188138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188138
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188138#FFFFFF#000000##FFFFFF
##1881381.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827531
Deuteranopia (green-blind)
#776D3E
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #188138;
/* rgb */ color: rgb(24, 129, 56);
/* oklch */ color: oklch(53.0% 0.142 148.3);
Tailwind
colors: {
  custom: {
    50: '#69a770',
    500: '#188138',
    950: '#000000',
  },
}
SCSS
$custom: #188138;
$custom-light: #69a770;
$custom-dark: #000000;
JSON
{
  "hex": "#188138",
  "rgb": {
    "r": 24,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 138.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52988,
    "c": 0.14232,
    "h": 148.3
  },
  "luminance": 0.1618
}

Semantic roles & 50–950 ramp

primary
#188138
secondary
#B54091
accent
#3CB6EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #188138

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

Preview Lab → · Contrast checker → · Palette generator →

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