#1A981F#1A981F

#1A981F is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.187 H 143.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#1A981F
RGBrgb(26, 152, 31)
HSLhsl(122, 71%, 35%)
HSVhsv(122, 83%, 60%)
CMYKcmyk(82.9%, 0%, 79.6%, 40.4%)
CIE-LABlab(54.84, -55.20, 50.21)
CIE-LCHlch(54.84, 74.62, 137.71°)
OKLaboklab(59.27% -0.1496 0.1123)
OKLCHoklch(59.27% 0.187 143.1)
XYZxyz(11.9008, 22.7736, 5.0646)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A981F #981A93
analogous
#54981A #1A981F #1A985E
triadic
#1A981F #1F1A98 #981F1A
tetradic
#1A981F #1A5498 #981A93 #985E1A
square
#1A981F #1A5498 #981A93 #985E1A
split-complementary
#1A981F #5E1A98 #981A54
monochromatic
#082F0A #116414 #1A981F #23CC2A #4CE052

Accessibility & contrast

On white

3.78
#1A981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#1A981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A981F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A981F#FFFFFF#000000##000000
##1A981F1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1a981f;
/* rgb */ color: rgb(26, 152, 31);
/* oklch */ color: oklch(59.3% 0.187 143.1);
Tailwind
colors: {
  custom: {
    50: '#71b865',
    500: '#1a981f',
    950: '#000000',
  },
}
SCSS
$custom: #1a981f;
$custom-light: #71b865;
$custom-dark: #000000;
JSON
{
  "hex": "#1a981f",
  "rgb": {
    "r": 26,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 122.381,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.18706,
    "h": 143.1
  },
  "luminance": 0.22775
}

Semantic roles & 50–950 ramp

primary
#1A981F
secondary
#C24BBE
accent
#3AE6EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1A981F

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

Preview Lab → · Contrast checker → · Palette generator →

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