#1B3C04#1B3C04

#1B3C04 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 31.9% C 0.090 H 135.9°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#1B3C04
RGBrgb(27, 60, 4)
HSLhsl(95, 88%, 13%)
HSVhsv(95, 93%, 24%)
CMYKcmyk(55%, 0%, 93.3%, 76.5%)
CIE-LABlab(21.85, -23.07, 28.01)
CIE-LCHlch(21.85, 36.29, 129.47°)
OKLaboklab(31.86% -0.0644 0.0625)
OKLCHoklch(31.86% 0.09 135.9)
XYZxyz(2.0897, 3.4734, 0.6752)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C04 #25043C
analogous
#373C04 #1B3C04 #043C09
triadic
#1B3C04 #041B3C #3C041B
tetradic
#1B3C04 #04373C #25043C #3C0904
square
#1B3C04 #04373C #25043C #3C0904
split-complementary
#1B3C04 #09043C #3C0437
monochromatic
#0D1D02 #0D1D02 #1B3C04 #357508 #4FAF0C

Accessibility & contrast

On white

12.39
#1B3C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B3C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3C04
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C04#FFFFFF#000000##FFFFFF
##1B3C041.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3A330A
Tritanopia (blue-blind)
#1A3932
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b3c04;
/* rgb */ color: rgb(27, 60, 4);
/* oklch */ color: oklch(31.9% 0.090 135.9);
Tailwind
colors: {
  custom: {
    50: '#5c724a',
    500: '#1b3c04',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c04;
$custom-light: #5c724a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c04",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 4
  },
  "hsl": {
    "h": 95.357,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31863,
    "c": 0.08979,
    "h": 135.9
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#1B3C04
secondary
#561E7E
accent
#2AFEA7
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1B3C04

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

Preview Lab → · Contrast checker → · Palette generator →

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