#1B2D01#1B2D01

#1B2D01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.071 H 129.6°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#1B2D01
RGBrgb(27, 45, 1)
HSLhsl(85, 96%, 9%)
HSVhsv(85, 98%, 18%)
CMYKcmyk(40%, 0%, 97.8%, 82.4%)
CIE-LABlab(16.06, -15.76, 22.51)
CIE-LCHlch(16.06, 27.48, 125.00°)
OKLaboklab(27.11% -0.0453 0.0547)
OKLCHoklch(27.11% 0.071 129.6)
XYZxyz(1.3959, 2.1119, 0.3628)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D01 #13012D
analogous
#2D2901 #1B2D01 #052D01
triadic
#1B2D01 #011B2D #2D011B
tetradic
#1B2D01 #012D29 #13012D #2D0105
square
#1B2D01 #012D29 #13012D #2D0105
split-complementary
#1B2D01 #01052D #29012D
monochromatic
#121E01 #121E01 #1B2D01 #3F6902 #63A504

Accessibility & contrast

On white

14.76
#1B2D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1B2D01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D01
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D01#FFFFFF#000000##FFFFFF
##1B2D011.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2D2704
Tritanopia (blue-blind)
#1C2A25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b2d01;
/* rgb */ color: rgb(27, 45, 1);
/* oklch */ color: oklch(27.1% 0.071 129.6);
Tailwind
colors: {
  custom: {
    50: '#596647',
    500: '#1b2d01',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d01;
$custom-light: #596647;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d01",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 84.545,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27113,
    "c": 0.07106,
    "h": 129.6
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#1B2D01
secondary
#3D1773
accent
#29FF80
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #1B2D01

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

Preview Lab → · Contrast checker → · Palette generator →

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