#138F21#138F21

#138F21 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.177 H 143.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#138F21
RGBrgb(19, 143, 33)
HSLhsl(127, 77%, 32%)
HSVhsv(127, 87%, 56%)
CMYKcmyk(86.7%, 0%, 76.9%, 43.9%)
CIE-LABlab(51.71, -53.00, 46.43)
CIE-LCHlch(51.71, 70.46, 138.78°)
OKLaboklab(56.64% -0.1433 0.1047)
OKLCHoklch(56.64% 0.177 143.8)
XYZxyz(10.3648, 19.8919, 4.7318)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138F21 #8F1381
analogous
#438F13 #138F21 #138F5F
triadic
#138F21 #21138F #8F2113
tetradic
#138F21 #13438F #8F1381 #8F5F13
square
#138F21 #13438F #8F1381 #8F5F13
split-complementary
#138F21 #5F138F #8F1343
monochromatic
#052308 #0C5915 #138F21 #1AC52D #38E54B

Accessibility & contrast

On white

4.22
#138F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#138F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #138F21
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138F21#FFFFFF#000000##000000
##138F211.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #138f21;
/* rgb */ color: rgb(19, 143, 33);
/* oklch */ color: oklch(56.6% 0.177 143.8);
Tailwind
colors: {
  custom: {
    50: '#6cb164',
    500: '#138f21',
    950: '#000000',
  },
}
SCSS
$custom: #138f21;
$custom-light: #6cb164;
$custom-dark: #000000;
JSON
{
  "hex": "#138f21",
  "rgb": {
    "r": 19,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 126.774,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56644,
    "c": 0.17746,
    "h": 143.8
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#138F21
secondary
#C33BB4
accent
#35DEF3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #138F21

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

Preview Lab → · Contrast checker → · Palette generator →

#138F21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva