#188038#188038

#188038 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.141 H 148.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#188038
RGBrgb(24, 128, 56)
HSLhsl(138, 68%, 30%)
HSVhsv(138, 81%, 50%)
CMYKcmyk(81.3%, 0%, 56.3%, 49.8%)
CIE-LABlab(46.87, -44.70, 30.83)
CIE-LCHlch(46.87, 54.30, 145.40°)
OKLaboklab(52.7% -0.1201 0.0739)
OKLCHoklch(52.7% 0.141 148.4)
XYZxyz(8.8090, 15.9170, 6.3486)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188038 #801860
analogous
#2C8018 #188038 #18806C
triadic
#188038 #381880 #803818
tetradic
#188038 #182C80 #801860 #806C18
square
#188038 #182C80 #801860 #806C18
split-complementary
#188038 #6C1880 #80182C
monochromatic
#051A0B #0E4C21 #188038 #22B44F #39DA6A

Accessibility & contrast

On white

5.02
#188038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#188038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188038
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188038#FFFFFF#000000##FFFFFF
##1880381.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817431
Deuteranopia (green-blind)
#766C3E
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #188038;
/* rgb */ color: rgb(24, 128, 56);
/* oklch */ color: oklch(52.7% 0.141 148.4);
Tailwind
colors: {
  custom: {
    50: '#68a670',
    500: '#188038',
    950: '#000000',
  },
}
SCSS
$custom: #188038;
$custom-light: #68a670;
$custom-dark: #000000;
JSON
{
  "hex": "#188038",
  "rgb": {
    "r": 24,
    "g": 128,
    "b": 56
  },
  "hsl": {
    "h": 138.462,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52703,
    "c": 0.14102,
    "h": 148.4
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#188038
secondary
#B44090
accent
#3DB6EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #188038

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

Preview Lab → · Contrast checker → · Palette generator →

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