#1B2C01#1B2C01

#1B2C01 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.070 H 129.0°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#1B2C01
RGBrgb(27, 44, 1)
HSLhsl(84, 96%, 9%)
HSVhsv(84, 98%, 17%)
CMYKcmyk(38.6%, 0%, 97.7%, 82.7%)
CIE-LABlab(15.68, -15.21, 22.02)
CIE-LCHlch(15.68, 26.76, 124.63°)
OKLaboklab(26.8% -0.0438 0.0541)
OKLCHoklch(26.8% 0.07 129)
XYZxyz(1.3582, 2.0365, 0.3502)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2C01 #12012C
analogous
#2C2801 #1B2C01 #062C01
triadic
#1B2C01 #011B2C #2C011B
tetradic
#1B2C01 #012C28 #12012C #2C0106
square
#1B2C01 #012C28 #12012C #2C0106
split-complementary
#1B2C01 #01062C #28012C
monochromatic
#121E01 #121E01 #1B2C01 #406802 #64A404

Accessibility & contrast

On white

14.92
#1B2C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1B2C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2C01
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2C01#FFFFFF#000000##FFFFFF
##1B2C011.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2C2704
Tritanopia (blue-blind)
#1C2924
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1b2c01;
/* rgb */ color: rgb(27, 44, 1);
/* oklch */ color: oklch(26.8% 0.070 129.0);
Tailwind
colors: {
  custom: {
    50: '#596547',
    500: '#1b2c01',
    950: '#000000',
  },
}
SCSS
$custom: #1b2c01;
$custom-light: #596547;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2c01",
  "rgb": {
    "r": 27,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 83.721,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26798,
    "c": 0.06959,
    "h": 129
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#1B2C01
secondary
#3B1772
accent
#29FF7D
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #1B2C01

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

Preview Lab → · Contrast checker → · Palette generator →

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