#1B2800#1B2800

#1B2800 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.5% C 0.065 H 126.0°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#1B2800
RGBrgb(27, 40, 0)
HSLhsl(80, 100%, 8%)
HSVhsv(80, 100%, 16%)
CMYKcmyk(32.5%, 0%, 100%, 84.3%)
CIE-LABlab(14.12, -13.05, 20.42)
CIE-LCHlch(14.12, 24.24, 122.58°)
OKLaboklab(25.53% -0.0382 0.0526)
OKLCHoklch(25.53% 0.065 126)
XYZxyz(1.2108, 1.7506, 0.2741)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2800 #0D0028
analogous
#282100 #1B2800 #072800
triadic
#1B2800 #001B28 #28001B
tetradic
#1B2800 #002821 #0D0028 #280007
square
#1B2800 #002821 #0D0028 #280007
split-complementary
#1B2800 #000728 #210028
monochromatic
#151F00 #151F00 #1B2800 #446500 #6EA200

Accessibility & contrast

On white

15.55
#1B2800 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1B2800 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2800
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2800#FFFFFF#000000##FFFFFF
##1B28001.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2400
Deuteranopia (green-blind)
#292403
Tritanopia (blue-blind)
#1D2520
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b2800;
/* rgb */ color: rgb(27, 40, 0);
/* oklch */ color: oklch(25.5% 0.065 126.0);
Tailwind
colors: {
  custom: {
    50: '#586246',
    500: '#1b2800',
    950: '#000000',
  },
}
SCSS
$custom: #1b2800;
$custom-light: #586246;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2800",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 0
  },
  "hsl": {
    "h": 79.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.25526,
    "c": 0.06501,
    "h": 126
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#1B2800
secondary
#321470
accent
#29FF6E
background
#F5F5F3
surface
#E9EAE5
border
#C5C6C1
text
#030500
muted
#787977

Preview Lab

Preview with #1B2800

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

Preview Lab → · Contrast checker → · Palette generator →

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