#1B3704#1B3704

#1B3704 is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.3% C 0.083 H 134.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#1B3704
RGBrgb(27, 55, 4)
HSLhsl(93, 86%, 12%)
HSVhsv(93, 93%, 22%)
CMYKcmyk(50.9%, 0%, 92.7%, 78.4%)
CIE-LABlab(19.94, -20.65, 25.91)
CIE-LCHlch(19.94, 33.14, 128.56°)
OKLaboklab(30.3% -0.058 0.0589)
OKLCHoklch(30.3% 0.083 134.5)
XYZxyz(1.8401, 2.9740, 0.5919)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3704 #200437
analogous
#353704 #1B3704 #043706
triadic
#1B3704 #041B37 #37041B
tetradic
#1B3704 #043537 #200437 #370604
square
#1B3704 #043537 #200437 #370604
split-complementary
#1B3704 #060437 #370435
monochromatic
#0E1D02 #0E1D02 #1B3704 #377008 #53A90C

Accessibility & contrast

On white

13.17
#1B3704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B3704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3704
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3704#FFFFFF#000000##FFFFFF
##1B37041.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#362F09
Tritanopia (blue-blind)
#1A342E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b3704;
/* rgb */ color: rgb(27, 55, 4);
/* oklch */ color: oklch(30.3% 0.083 134.5);
Tailwind
colors: {
  custom: {
    50: '#5b6e49',
    500: '#1b3704',
    950: '#000000',
  },
}
SCSS
$custom: #1b3704;
$custom-light: #5b6e49;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3704",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 4
  },
  "hsl": {
    "h": 92.941,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30295,
    "c": 0.08266,
    "h": 134.5
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#1B3704
secondary
#501E79
accent
#2BFD9E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1B3704

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

Preview Lab → · Contrast checker → · Palette generator →

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