#1B2202#1B2202

#1B2202 is a very dark, muted yellow-green. Relative luminance 0.014; OKLCH L 23.7% C 0.053 H 120.8°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#1B2202
RGBrgb(27, 34, 2)
HSLhsl(73, 89%, 7%)
HSVhsv(73, 94%, 13%)
CMYKcmyk(20.6%, 0%, 94.1%, 86.7%)
CIE-LABlab(11.83, -9.15, 16.55)
CIE-LCHlch(11.83, 18.91, 118.94°)
OKLaboklab(23.68% -0.0272 0.0457)
OKLCHoklch(23.68% 0.053 120.8)
XYZxyz(1.0350, 1.3815, 0.2695)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2202 #090222
analogous
#221902 #1B2202 #0B2202
triadic
#1B2202 #021B22 #22021B
tetradic
#1B2202 #022219 #090222 #22020B
square
#1B2202 #022219 #090222 #22020B
split-complementary
#1B2202 #020B22 #190222
monochromatic
#171D02 #171D02 #1B2202 #495C05 #779609

Accessibility & contrast

On white

16.46
#1B2202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1B2202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2202
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2202#FFFFFF#000000##FFFFFF
##1B22021.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#251F00
Deuteranopia (green-blind)
#241F04
Tritanopia (blue-blind)
#1D201C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1b2202;
/* rgb */ color: rgb(27, 34, 2);
/* oklch */ color: oklch(23.7% 0.053 120.8);
Tailwind
colors: {
  custom: {
    50: '#575d47',
    500: '#1b2202',
    950: '#000000',
  },
}
SCSS
$custom: #1b2202;
$custom-light: #575d47;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2202",
  "rgb": {
    "r": 27,
    "g": 34,
    "b": 2
  },
  "hsl": {
    "h": 73.125,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.23683,
    "c": 0.05319,
    "h": 120.8
  },
  "luminance": 0.01381
}

Semantic roles & 50–950 ramp

primary
#1B2202
secondary
#2A1868
accent
#29FF58
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1B2202

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

Preview Lab → · Contrast checker → · Palette generator →

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