#1B2807#1B2807

#1B2807 is a dark, muted yellow-green. Relative luminance 0.018; OKLCH L 25.6% C 0.056 H 128.2°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#1B2807
RGBrgb(27, 40, 7)
HSLhsl(84, 70%, 9%)
HSVhsv(84, 83%, 16%)
CMYKcmyk(32.5%, 0%, 82.5%, 84.3%)
CIE-LABlab(14.21, -12.21, 17.69)
CIE-LCHlch(14.21, 21.49, 124.62°)
OKLaboklab(25.62% -0.0347 0.0442)
OKLCHoklch(25.62% 0.056 128.2)
XYZxyz(1.2491, 1.7659, 0.4760)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2807 #140728
analogous
#282507 #1B2807 #0B2807
triadic
#1B2807 #071B28 #28071B
tetradic
#1B2807 #072825 #140728 #28070B
square
#1B2807 #072825 #140728 #28070B
split-complementary
#1B2807 #070B28 #250728
monochromatic
#121A05 #121A05 #1B2807 #3E5C10 #619019

Accessibility & contrast

On white

15.52
#1B2807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2807
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2807#FFFFFF#000000##FFFFFF
##1B28071.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2504
Deuteranopia (green-blind)
#292409
Tritanopia (blue-blind)
#1C2621
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b2807;
/* rgb */ color: rgb(27, 40, 7);
/* oklch */ color: oklch(25.6% 0.056 128.2);
Tailwind
colors: {
  custom: {
    50: '#58624a',
    500: '#1b2807',
    950: '#000000',
  },
}
SCSS
$custom: #1b2807;
$custom-light: #58624a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2807",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 7
  },
  "hsl": {
    "h": 83.636,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25625,
    "c": 0.05616,
    "h": 128.2
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#1B2807
secondary
#3E2368
accent
#3BED81
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #1B2807

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

Preview Lab → · Contrast checker → · Palette generator →

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