#1B2D05#1B2D05

#1B2D05 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.2% C 0.067 H 130.8°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#1B2D05
RGBrgb(27, 45, 5)
HSLhsl(87, 80%, 10%)
HSVhsv(87, 89%, 18%)
CMYKcmyk(40%, 0%, 88.9%, 82.4%)
CIE-LABlab(16.11, -15.32, 20.93)
CIE-LCHlch(16.11, 25.94, 126.19°)
OKLaboklab(27.16% -0.0435 0.0504)
OKLCHoklch(27.16% 0.067 130.8)
XYZxyz(1.4178, 2.1207, 0.4782)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D05 #17052D
analogous
#2D2B05 #1B2D05 #072D05
triadic
#1B2D05 #051B2D #2D051B
tetradic
#1B2D05 #052D2B #17052D #2D0507
square
#1B2D05 #052D2B #17052D #2D0507
split-complementary
#1B2D05 #05072D #2B052D
monochromatic
#111C03 #111C03 #1B2D05 #3C640B #5D9B11

Accessibility & contrast

On white

14.75
#1B2D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2D05
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D05#FFFFFF#000000##FFFFFF
##1B2D051.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2901
Deuteranopia (green-blind)
#2D2808
Tritanopia (blue-blind)
#1C2B25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b2d05;
/* rgb */ color: rgb(27, 45, 5);
/* oklch */ color: oklch(27.2% 0.067 130.8);
Tailwind
colors: {
  custom: {
    50: '#596649',
    500: '#1b2d05',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d05;
$custom-light: #596649;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d05",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 5
  },
  "hsl": {
    "h": 87,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27164,
    "c": 0.06656,
    "h": 130.8
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#1B2D05
secondary
#431F6F
accent
#31F68A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #1B2D05

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

Preview Lab → · Contrast checker → · Palette generator →

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