#1B2900#1B2900

#1B2900 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.8% C 0.066 H 126.8°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#1B2900
RGBrgb(27, 41, 0)
HSLhsl(80, 100%, 8%)
HSVhsv(80, 100%, 16%)
CMYKcmyk(34.1%, 0%, 100%, 83.9%)
CIE-LABlab(14.51, -13.63, 20.93)
CIE-LCHlch(14.51, 24.98, 123.08°)
OKLaboklab(25.84% -0.0398 0.0532)
OKLCHoklch(25.84% 0.066 126.8)
XYZxyz(1.2449, 1.8189, 0.2855)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2900 #0E0029
analogous
#292200 #1B2900 #062900
triadic
#1B2900 #001B29 #29001B
tetradic
#1B2900 #002922 #0E0029 #290006
square
#1B2900 #002922 #0E0029 #290006
split-complementary
#1B2900 #000629 #220029
monochromatic
#141F00 #141F00 #1B2900 #436600 #6CA300

Accessibility & contrast

On white

15.40
#1B2900 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1B2900 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2900
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2900#FFFFFF#000000##FFFFFF
##1B29001.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2500
Deuteranopia (green-blind)
#2A2403
Tritanopia (blue-blind)
#1D2621
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1b2900;
/* rgb */ color: rgb(27, 41, 0);
/* oklch */ color: oklch(25.8% 0.066 126.8);
Tailwind
colors: {
  custom: {
    50: '#586246',
    500: '#1b2900',
    950: '#000000',
  },
}
SCSS
$custom: #1b2900;
$custom-light: #586246;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2900",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 0
  },
  "hsl": {
    "h": 80.488,
    "s": 100,
    "l": 8.039
  },
  "oklch": {
    "l": 0.25841,
    "c": 0.06646,
    "h": 126.8
  },
  "luminance": 0.01819
}

Semantic roles & 50–950 ramp

primary
#1B2900
secondary
#341471
accent
#29FF72
background
#F5F5F3
surface
#E9EAE5
border
#C5C6C1
text
#030500
muted
#787977

Preview Lab

Preview with #1B2900

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

Preview Lab → · Contrast checker → · Palette generator →

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