#1A2D01#1A2D01

#1A2D01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.0% C 0.072 H 130.4°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#1A2D01
RGBrgb(26, 45, 1)
HSLhsl(86, 96%, 9%)
HSVhsv(86, 98%, 18%)
CMYKcmyk(42.2%, 0%, 97.8%, 82.4%)
CIE-LABlab(16.00, -16.23, 22.41)
CIE-LCHlch(16.00, 27.67, 125.92°)
OKLaboklab(27.04% -0.0465 0.0546)
OKLCHoklch(27.04% 0.072 130.4)
XYZxyz(1.3699, 2.0985, 0.3616)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D01 #14012D
analogous
#2D2A01 #1A2D01 #042D01
triadic
#1A2D01 #011A2D #2D011A
tetradic
#1A2D01 #012D2A #14012D #2D0104
square
#1A2D01 #012D2A #14012D #2D0104
split-complementary
#1A2D01 #01042D #2A012D
monochromatic
#111E01 #111E01 #1A2D01 #3D6902 #5FA504

Accessibility & contrast

On white

14.79
#1A2D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1A2D01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D01
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D01#FFFFFF#000000##FFFFFF
##1A2D011.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2D2704
Tritanopia (blue-blind)
#1B2B25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a2d01;
/* rgb */ color: rgb(26, 45, 1);
/* oklch */ color: oklch(27.0% 0.072 130.4);
Tailwind
colors: {
  custom: {
    50: '#586647',
    500: '#1a2d01',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d01;
$custom-light: #586647;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d01",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 85.909,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.2704,
    "c": 0.07171,
    "h": 130.4
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#1A2D01
secondary
#3F1773
accent
#29FF85
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #1A2D01

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

Preview Lab → · Contrast checker → · Palette generator →

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