#1A801F#1A801F

#1A801F is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.5% C 0.160 H 143.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1A801F
RGBrgb(26, 128, 31)
HSLhsl(123, 66%, 30%)
HSVhsv(123, 80%, 50%)
CMYKcmyk(79.7%, 0%, 75.8%, 49.8%)
CIE-LABlab(46.65, -47.41, 42.12)
CIE-LCHlch(46.65, 63.42, 138.38°)
OKLaboklab(52.46% -0.1284 0.0954)
OKLCHoklch(52.46% 0.16 143.4)
XYZxyz(8.3920, 15.7559, 3.8950)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A801F #801A7B
analogous
#48801A #1A801F #1A8052
triadic
#1A801F #1F1A80 #801F1A
tetradic
#1A801F #1A4880 #801A7B #80521A
square
#1A801F #1A4880 #801A7B #80521A
split-complementary
#1A801F #521A80 #801A48
monochromatic
#051A06 #104D13 #1A801F #24B32B #3DD844

Accessibility & contrast

On white

5.06
#1A801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1A801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A801F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A801F#FFFFFF#000000##FFFFFF
##1A801F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730D
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1a801f;
/* rgb */ color: rgb(26, 128, 31);
/* oklch */ color: oklch(52.5% 0.160 143.4);
Tailwind
colors: {
  custom: {
    50: '#6aa661',
    500: '#1a801f',
    950: '#000000',
  },
}
SCSS
$custom: #1a801f;
$custom-light: #6aa661;
$custom-dark: #000000;
JSON
{
  "hex": "#1a801f",
  "rgb": {
    "r": 26,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 122.941,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.16001,
    "h": 143.4
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#1A801F
secondary
#B442AE
accent
#3FE1E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #1A801F

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

Preview Lab → · Contrast checker → · Palette generator →

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