#1B3306#1B3306

#1B3306 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.1% C 0.075 H 133.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#1B3306
RGBrgb(27, 51, 6)
HSLhsl(92, 79%, 11%)
HSVhsv(92, 88%, 20%)
CMYKcmyk(47.1%, 0%, 88.2%, 80%)
CIE-LABlab(18.43, -18.43, 23.35)
CIE-LCHlch(18.43, 29.75, 128.29°)
OKLaboklab(29.06% -0.0518 0.0541)
OKLCHoklch(29.06% 0.075 133.7)
XYZxyz(1.6687, 2.6137, 0.5888)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3306 #1E0633
analogous
#313306 #1B3306 #063307
triadic
#1B3306 #061B33 #33061B
tetradic
#1B3306 #063133 #1E0633 #330706
square
#1B3306 #063133 #1E0633 #330706
split-complementary
#1B3306 #070633 #330631
monochromatic
#0E1B03 #0E1B03 #1B3306 #386A0C #55A113

Accessibility & contrast

On white

13.79
#1B3306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1B3306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3306
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3306#FFFFFF#000000##FFFFFF
##1B33061.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E01
Deuteranopia (green-blind)
#322C0A
Tritanopia (blue-blind)
#1B312A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b3306;
/* rgb */ color: rgb(27, 51, 6);
/* oklch */ color: oklch(29.1% 0.075 133.7);
Tailwind
colors: {
  custom: {
    50: '#5a6b4a',
    500: '#1b3306',
    950: '#000000',
  },
}
SCSS
$custom: #1b3306;
$custom-light: #5a6b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3306",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 6
  },
  "hsl": {
    "h": 92,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2906,
    "c": 0.0749,
    "h": 133.7
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#1B3306
secondary
#4D2174
accent
#32F59A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1B3306

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

Preview Lab → · Contrast checker → · Palette generator →

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