#1A2C01#1A2C01

#1A2C01 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.7% C 0.070 H 129.9°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#1A2C01
RGBrgb(26, 44, 1)
HSLhsl(85, 96%, 9%)
HSVhsv(85, 98%, 17%)
CMYKcmyk(40.9%, 0%, 97.7%, 82.7%)
CIE-LABlab(15.61, -15.69, 21.92)
CIE-LCHlch(15.61, 26.95, 125.59°)
OKLaboklab(26.72% -0.045 0.0539)
OKLCHoklch(26.72% 0.07 129.9)
XYZxyz(1.3322, 2.0231, 0.3490)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C01 #13012C
analogous
#2C2901 #1A2C01 #052C01
triadic
#1A2C01 #011A2C #2C011A
tetradic
#1A2C01 #012C29 #13012C #2C0105
square
#1A2C01 #012C29 #13012C #2C0105
split-complementary
#1A2C01 #01052C #29012C
monochromatic
#121E01 #121E01 #1A2C01 #3D6802 #61A404

Accessibility & contrast

On white

14.95
#1A2C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1A2C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C01
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C01#FFFFFF#000000##FFFFFF
##1A2C011.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2C2704
Tritanopia (blue-blind)
#1B2A24
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a2c01;
/* rgb */ color: rgb(26, 44, 1);
/* oklch */ color: oklch(26.7% 0.070 129.9);
Tailwind
colors: {
  custom: {
    50: '#586547',
    500: '#1a2c01',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c01;
$custom-light: #586547;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c01",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 85.116,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26723,
    "c": 0.07024,
    "h": 129.9
  },
  "luminance": 0.02023
}

Semantic roles & 50–950 ramp

primary
#1A2C01
secondary
#3D1772
accent
#29FF82
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #1A2C01

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

Preview Lab → · Contrast checker → · Palette generator →

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