#1B3C06#1B3C06

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

Color values

HEX#1B3C06
RGBrgb(27, 60, 6)
HSLhsl(97, 82%, 13%)
HSVhsv(97, 90%, 24%)
CMYKcmyk(55%, 0%, 90%, 76.5%)
CIE-LABlab(21.86, -22.89, 27.21)
CIE-LCHlch(21.86, 35.56, 130.06°)
OKLaboklab(31.88% -0.0638 0.061)
OKLCHoklch(31.88% 0.088 136.3)
XYZxyz(2.1007, 3.4777, 0.7328)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3C06 #27063C
analogous
#363C06 #1B3C06 #063C0C
triadic
#1B3C06 #061B3C #3C061B
tetradic
#1B3C06 #06363C #27063C #3C0C06
square
#1B3C06 #06363C #27063C #3C0C06
split-complementary
#1B3C06 #0C063C #3C0636
monochromatic
#0D1C03 #0D1C03 #1B3C06 #34740C #4DAB11

Accessibility & contrast

On white

12.38
#1B3C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1B3C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3C06
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3C06#FFFFFF#000000##FFFFFF
##1B3C061.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3A330C
Tritanopia (blue-blind)
#193932
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b3c06;
/* rgb */ color: rgb(27, 60, 6);
/* oklch */ color: oklch(31.9% 0.088 136.3);
Tailwind
colors: {
  custom: {
    50: '#5b724b',
    500: '#1b3c06',
    950: '#000000',
  },
}
SCSS
$custom: #1b3c06;
$custom-light: #5b724b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3c06",
  "rgb": {
    "r": 27,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 96.667,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31881,
    "c": 0.08823,
    "h": 136.3
  },
  "luminance": 0.03478
}

Semantic roles & 50–950 ramp

primary
#1B3C06
secondary
#59227C
accent
#30F8AA
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1B3C06

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

Preview Lab → · Contrast checker → · Palette generator →

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