#1A2A01#1A2A01

#1A2A01 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.1% C 0.067 H 128.7°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#1A2A01
RGBrgb(26, 42, 1)
HSLhsl(83, 95%, 8%)
HSVhsv(83, 98%, 16%)
CMYKcmyk(38.1%, 0%, 97.6%, 83.5%)
CIE-LABlab(14.83, -14.58, 20.93)
CIE-LCHlch(14.83, 25.50, 124.87°)
OKLaboklab(26.09% -0.0421 0.0525)
OKLCHoklch(26.09% 0.067 128.7)
XYZxyz(1.2594, 1.8777, 0.3248)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A01 #11012A
analogous
#2A2501 #1A2A01 #052A01
triadic
#1A2A01 #011A2A #2A011A
tetradic
#1A2A01 #012A25 #11012A #2A0105
square
#1A2A01 #012A25 #11012A #2A0105
split-complementary
#1A2A01 #01052A #25012A
monochromatic
#131E01 #131E01 #1A2A01 #3F6602 #64A204

Accessibility & contrast

On white

15.27
#1A2A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1A2A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A01
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A01#FFFFFF#000000##FFFFFF
##1A2A011.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2A2504
Tritanopia (blue-blind)
#1B2822
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a2a01;
/* rgb */ color: rgb(26, 42, 1);
/* oklch */ color: oklch(26.1% 0.067 128.7);
Tailwind
colors: {
  custom: {
    50: '#576347',
    500: '#1a2a01',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a01;
$custom-light: #576347;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a01",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 83.415,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.2609,
    "c": 0.06729,
    "h": 128.7
  },
  "luminance": 0.01878
}

Semantic roles & 50–950 ramp

primary
#1A2A01
secondary
#3A1670
accent
#29FF7C
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #1A2A01

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

Preview Lab → · Contrast checker → · Palette generator →

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