#1A2102#1A2102

#1A2102 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.3% C 0.052 H 121.0°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#1A2102
RGBrgb(26, 33, 2)
HSLhsl(74, 89%, 7%)
HSVhsv(74, 94%, 13%)
CMYKcmyk(21.2%, 0%, 93.9%, 87.1%)
CIE-LABlab(11.36, -9.06, 15.88)
CIE-LCHlch(11.36, 18.28, 119.72°)
OKLaboklab(23.28% -0.0269 0.0448)
OKLCHoklch(23.28% 0.052 121)
XYZxyz(0.9808, 1.3117, 0.2589)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2102 #090221
analogous
#211902 #1A2102 #0B2102
triadic
#1A2102 #021A21 #21021A
tetradic
#1A2102 #022119 #090221 #21020B
square
#1A2102 #022119 #090221 #21020B
split-complementary
#1A2102 #020B21 #190221
monochromatic
#171D02 #171D02 #1A2102 #475B05 #759409

Accessibility & contrast

On white

16.63
#1A2102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1A2102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2102
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2102#FFFFFF#000000##FFFFFF
##1A21021.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2102;
/* rgb */ color: rgb(26, 33, 2);
/* oklch */ color: oklch(23.3% 0.052 121.0);
Tailwind
colors: {
  custom: {
    50: '#565c47',
    500: '#1a2102',
    950: '#000000',
  },
}
SCSS
$custom: #1a2102;
$custom-light: #565c47;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2102",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 73.548,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.23275,
    "c": 0.05223,
    "h": 121
  },
  "luminance": 0.01312
}

Semantic roles & 50–950 ramp

primary
#1A2102
secondary
#2A1867
accent
#29FF59
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1A2102

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

Preview Lab → · Contrast checker → · Palette generator →

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