#1A8F15#1A8F15

#1A8F15 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.182 H 142.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1A8F15
RGBrgb(26, 143, 21)
HSLhsl(118, 74%, 32%)
HSVhsv(118, 85%, 56%)
CMYKcmyk(81.8%, 0%, 85.3%, 43.9%)
CIE-LABlab(51.74, -52.98, 50.28)
CIE-LCHlch(51.74, 73.04, 136.50°)
OKLaboklab(56.68% -0.144 0.111)
OKLCHoklch(56.68% 0.182 142.4)
XYZxyz(10.3832, 19.9174, 4.0065)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8F15 #8A158F
analogous
#578F15 #1A8F15 #158F4D
triadic
#1A8F15 #151A8F #8F151A
tetradic
#1A8F15 #15578F #8A158F #8F4D15
square
#1A8F15 #15578F #8A158F #8F4D15
split-complementary
#1A8F15 #4D158F #8F1557
monochromatic
#072405 #105A0D #1A8F15 #24C41D #43E23C

Accessibility & contrast

On white

4.21
#1A8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#1A8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1A8F15#FFFFFF#000000##000000
##1A8F151.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1a8f15;
/* rgb */ color: rgb(26, 143, 21);
/* oklch */ color: oklch(56.7% 0.182 142.4);
Tailwind
colors: {
  custom: {
    50: '#6fb15f',
    500: '#1a8f15',
    950: '#000000',
  },
}
SCSS
$custom: #1a8f15;
$custom-light: #6fb15f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8f15",
  "rgb": {
    "r": 26,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 117.541,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.18183,
    "h": 142.4
  },
  "luminance": 0.19919
}

Semantic roles & 50–950 ramp

primary
#1A8F15
secondary
#BD3EC2
accent
#37F1E9
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #1A8F15

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

Preview Lab → · Contrast checker → · Palette generator →

#1A8F15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva