#1A901F#1A901F

#1A901F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.0% C 0.178 H 143.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1A901F
RGBrgb(26, 144, 31)
HSLhsl(123, 69%, 33%)
HSVhsv(123, 82%, 56%)
CMYKcmyk(81.9%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.13, -52.66, 47.58)
CIE-LCHlch(52.13, 70.98, 137.90°)
OKLaboklab(57.02% -0.1427 0.1068)
OKLCHoklch(57.02% 0.178 143.2)
XYZxyz(10.6459, 20.2638, 4.6463)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A901F #901A8B
analogous
#50901A #1A901F #1A905A
triadic
#1A901F #1F1A90 #901F1A
tetradic
#1A901F #1A5090 #901A8B #905A1A
square
#1A901F #1A5090 #901A8B #905A1A
split-complementary
#1A901F #5A1A90 #901A50
monochromatic
#072809 #115C14 #1A901F #23C42A #47DE4D

Accessibility & contrast

On white

4.16
#1A901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#1A901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A901F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A901F#FFFFFF#000000##000000
##1A901F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938203
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1a901f;
/* rgb */ color: rgb(26, 144, 31);
/* oklch */ color: oklch(57.0% 0.178 143.2);
Tailwind
colors: {
  custom: {
    50: '#6eb264',
    500: '#1a901f',
    950: '#000000',
  },
}
SCSS
$custom: #1a901f;
$custom-light: #6eb264;
$custom-dark: #000000;
JSON
{
  "hex": "#1a901f",
  "rgb": {
    "r": 26,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 122.542,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57016,
    "c": 0.17826,
    "h": 143.2
  },
  "luminance": 0.20265
}

Semantic roles & 50–950 ramp

primary
#1A901F
secondary
#BF47BA
accent
#3CE5EC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1A901F

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

Preview Lab → · Contrast checker → · Palette generator →

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