#1B2D03#1B2D03

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

Color values

HEX#1B2D03
RGBrgb(27, 45, 3)
HSLhsl(86, 88%, 9%)
HSVhsv(86, 93%, 18%)
CMYKcmyk(40%, 0%, 93.3%, 82.4%)
CIE-LABlab(16.09, -15.54, 21.72)
CIE-LCHlch(16.09, 26.71, 125.58°)
OKLaboklab(27.14% -0.0444 0.0525)
OKLCHoklch(27.14% 0.069 130.2)
XYZxyz(1.4068, 2.1163, 0.4205)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D03 #15032D
analogous
#2D2A03 #1B2D03 #062D03
triadic
#1B2D03 #031B2D #2D031B
tetradic
#1B2D03 #032D2A #15032D #2D0306
square
#1B2D03 #032D2A #15032D #2D0306
split-complementary
#1B2D03 #03062D #2A032D
monochromatic
#111D02 #111D02 #1B2D03 #3D6607 #60A00B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B2D03#FFFFFF#000000##FFFFFF
##1B2D031.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)
#2D2806
Tritanopia (blue-blind)
#1C2B25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b2d03;
/* rgb */ color: rgb(27, 45, 3);
/* oklch */ color: oklch(27.1% 0.069 130.2);
Tailwind
colors: {
  custom: {
    50: '#596648',
    500: '#1b2d03',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d03;
$custom-light: #596648;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d03",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 85.714,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27139,
    "c": 0.06877,
    "h": 130.2
  },
  "luminance": 0.02116
}

Semantic roles & 50–950 ramp

primary
#1B2D03
secondary
#401B71
accent
#2AFE85
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #1B2D03

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

Preview Lab → · Contrast checker → · Palette generator →

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