#1A2B01#1A2B01

#1A2B01 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.4% C 0.069 H 129.3°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#1A2B01
RGBrgb(26, 43, 1)
HSLhsl(84, 95%, 9%)
HSVhsv(84, 98%, 17%)
CMYKcmyk(39.5%, 0%, 97.7%, 83.1%)
CIE-LABlab(15.22, -15.14, 21.42)
CIE-LCHlch(15.22, 26.23, 125.24°)
OKLaboklab(26.41% -0.0436 0.0532)
OKLCHoklch(26.41% 0.069 129.3)
XYZxyz(1.2954, 1.9495, 0.3368)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B01 #12012B
analogous
#2B2701 #1A2B01 #052B01
triadic
#1A2B01 #011A2B #2B011A
tetradic
#1A2B01 #012B27 #12012B #2B0105
square
#1A2B01 #012B27 #12012B #2B0105
split-complementary
#1A2B01 #01052B #27012B
monochromatic
#121E01 #121E01 #1A2B01 #3E6702 #62A304

Accessibility & contrast

On white

15.11
#1A2B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1A2B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B01
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B01#FFFFFF#000000##FFFFFF
##1A2B011.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2B2604
Tritanopia (blue-blind)
#1B2923
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a2b01;
/* rgb */ color: rgb(26, 43, 1);
/* oklch */ color: oklch(26.4% 0.069 129.3);
Tailwind
colors: {
  custom: {
    50: '#586447',
    500: '#1a2b01',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b01;
$custom-light: #586447;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b01",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 84.286,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.26407,
    "c": 0.06877,
    "h": 129.3
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#1A2B01
secondary
#3B1771
accent
#29FF80
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #1A2B01

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

Preview Lab → · Contrast checker → · Palette generator →

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