#138021#138021

#138021 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.160 H 144.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#138021
RGBrgb(19, 128, 33)
HSLhsl(128, 74%, 29%)
HSVhsv(128, 85%, 50%)
CMYKcmyk(85.2%, 0%, 74.2%, 49.8%)
CIE-LABlab(46.56, -48.17, 41.21)
CIE-LCHlch(46.56, 63.39, 139.45°)
OKLaboklab(52.35% -0.1301 0.0938)
OKLCHoklch(52.35% 0.16 144.2)
XYZxyz(8.2617, 15.6856, 4.0307)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138021 #801372
analogous
#3C8013 #138021 #138058
triadic
#138021 #211380 #802113
tetradic
#138021 #133C80 #801372 #805813
square
#138021 #133C80 #801372 #805813
split-complementary
#138021 #581380 #80133C
monochromatic
#041B07 #0B4B13 #138021 #1BB52F #2DE044

Accessibility & contrast

On white

5.08
#138021 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#138021 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #138021
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138021#FFFFFF#000000##FFFFFF
##1380211.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827311
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #138021;
/* rgb */ color: rgb(19, 128, 33);
/* oklch */ color: oklch(52.4% 0.160 144.2);
Tailwind
colors: {
  custom: {
    50: '#68a662',
    500: '#138021',
    950: '#000000',
  },
}
SCSS
$custom: #138021;
$custom-light: #68a662;
$custom-dark: #000000;
JSON
{
  "hex": "#138021",
  "rgb": {
    "r": 19,
    "g": 128,
    "b": 33
  },
  "hsl": {
    "h": 127.706,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.1604,
    "h": 144.2
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#138021
secondary
#B539A5
accent
#37D9F1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #138021

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

Preview Lab → · Contrast checker → · Palette generator →

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