#1B2002#1B2002

#1B2002 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.1% C 0.050 H 118.2°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#1B2002
RGBrgb(27, 32, 2)
HSLhsl(70, 88%, 7%)
HSVhsv(70, 94%, 13%)
CMYKcmyk(15.6%, 0%, 93.8%, 87.5%)
CIE-LABlab(11.07, -7.86, 15.49)
CIE-LCHlch(11.07, 17.37, 116.90°)
OKLaboklab(23.07% -0.0237 0.0442)
OKLCHoklch(23.07% 0.05 118.2)
XYZxyz(0.9795, 1.2704, 0.2510)
Luminance0.0127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2002 #070220
analogous
#201602 #1B2002 #0C2002
triadic
#1B2002 #021B20 #20021B
tetradic
#1B2002 #022016 #070220 #20020C
square
#1B2002 #022016 #070220 #20020C
split-complementary
#1B2002 #020C20 #160220
monochromatic
#181D02 #181D02 #1B2002 #4C5A06 #7C9309

Accessibility & contrast

On white

16.75
#1B2002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1B2002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2002
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2002#FFFFFF#000000##FFFFFF
##1B20021.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E00
Deuteranopia (green-blind)
#221E04
Tritanopia (blue-blind)
#1D1E1A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b2002;
/* rgb */ color: rgb(27, 32, 2);
/* oklch */ color: oklch(23.1% 0.050 118.2);
Tailwind
colors: {
  custom: {
    50: '#575b47',
    500: '#1b2002',
    950: '#000000',
  },
}
SCSS
$custom: #1b2002;
$custom-light: #575b47;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2002",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 70,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.23065,
    "c": 0.05017,
    "h": 118.2
  },
  "luminance": 0.0127
}

Semantic roles & 50–950 ramp

primary
#1B2002
secondary
#251866
accent
#29FE4D
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1B2002

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

Preview Lab → · Contrast checker → · Palette generator →

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