#1B3D05#1B3D05

#1B3D05 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.2% C 0.090 H 136.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#1B3D05
RGBrgb(27, 61, 5)
HSLhsl(96, 85%, 13%)
HSVhsv(96, 92%, 24%)
CMYKcmyk(55.7%, 0%, 91.8%, 76.1%)
CIE-LABlab(22.24, -23.45, 28.02)
CIE-LCHlch(22.24, 36.53, 129.92°)
OKLaboklab(32.18% -0.0654 0.0625)
OKLCHoklch(32.18% 0.09 136.3)
XYZxyz(2.1481, 3.5813, 0.7216)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D05 #27053D
analogous
#373D05 #1B3D05 #053D0B
triadic
#1B3D05 #051B3D #3D051B
tetradic
#1B3D05 #05373D #27053D #3D0B05
square
#1B3D05 #05373D #27053D #3D0B05
split-complementary
#1B3D05 #0B053D #3D0537
monochromatic
#0D1C02 #0D1C02 #1B3D05 #34760A #4DAE0E

Accessibility & contrast

On white

12.24
#1B3D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1B3D05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D05
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D05#FFFFFF#000000##FFFFFF
##1B3D051.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#193A33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b3d05;
/* rgb */ color: rgb(27, 61, 5);
/* oklch */ color: oklch(32.2% 0.090 136.3);
Tailwind
colors: {
  custom: {
    50: '#5c734a',
    500: '#1b3d05',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d05;
$custom-light: #5c734a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d05",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 5
  },
  "hsl": {
    "h": 96.429,
    "s": 84.848,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32184,
    "c": 0.09042,
    "h": 136.3
  },
  "luminance": 0.03581
}

Semantic roles & 50–950 ramp

primary
#1B3D05
secondary
#59207E
accent
#2DFBAA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1B3D05

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

Preview Lab → · Contrast checker → · Palette generator →

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