#1B2A01#1B2A01

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

Color values

HEX#1B2A01
RGBrgb(27, 42, 1)
HSLhsl(82, 95%, 8%)
HSVhsv(82, 98%, 16%)
CMYKcmyk(35.7%, 0%, 97.6%, 83.5%)
CIE-LABlab(14.91, -14.09, 21.04)
CIE-LCHlch(14.91, 25.32, 123.81°)
OKLaboklab(26.17% -0.0408 0.0527)
OKLCHoklch(26.17% 0.067 127.8)
XYZxyz(1.2854, 1.8911, 0.3260)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A01 #10012A
analogous
#2A2401 #1B2A01 #062A01
triadic
#1B2A01 #011B2A #2A011B
tetradic
#1B2A01 #012A24 #10012A #2A0106
square
#1B2A01 #012A24 #10012A #2A0106
split-complementary
#1B2A01 #01062A #24012A
monochromatic
#131E01 #131E01 #1B2A01 #416602 #68A204

Accessibility & contrast

On white

15.24
#1B2A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2A01
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A01#FFFFFF#000000##FFFFFF
##1B2A011.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2a01;
/* rgb */ color: rgb(27, 42, 1);
/* oklch */ color: oklch(26.2% 0.067 127.8);
Tailwind
colors: {
  custom: {
    50: '#586347',
    500: '#1b2a01',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a01;
$custom-light: #586347;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a01",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 81.951,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26169,
    "c": 0.06664,
    "h": 127.8
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#1B2A01
secondary
#371670
accent
#29FF77
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #1B2A01

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

Preview Lab → · Contrast checker → · Palette generator →

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