#1B3608#1B3608

#1B3608 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.0% C 0.078 H 135.2°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#1B3608
RGBrgb(27, 54, 8)
HSLhsl(95, 74%, 12%)
HSVhsv(95, 85%, 21%)
CMYKcmyk(50%, 0%, 85.2%, 78.8%)
CIE-LABlab(19.59, -19.78, 23.89)
CIE-LCHlch(19.59, 31.01, 129.62°)
OKLaboklab(30.02% -0.0552 0.0547)
OKLCHoklch(30.02% 0.078 135.2)
XYZxyz(1.8149, 2.8888, 0.6916)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3608 #230836
analogous
#323608 #1B3608 #08360C
triadic
#1B3608 #081B36 #36081B
tetradic
#1B3608 #083236 #230836 #360C08
square
#1B3608 #083236 #230836 #360C08
split-complementary
#1B3608 #0C0836 #360832
monochromatic
#0D1B04 #0D1B04 #1B3608 #366B10 #50A118

Accessibility & contrast

On white

13.31
#1B3608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B3608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3608
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3608#FFFFFF#000000##FFFFFF
##1B36081.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383102
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#1A342D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b3608;
/* rgb */ color: rgb(27, 54, 8);
/* oklch */ color: oklch(30.0% 0.078 135.2);
Tailwind
colors: {
  custom: {
    50: '#5a6d4b',
    500: '#1b3608',
    950: '#000000',
  },
}
SCSS
$custom: #1b3608;
$custom-light: #5a6d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3608",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 8
  },
  "hsl": {
    "h": 95.217,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30022,
    "c": 0.07773,
    "h": 135.2
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#1B3608
secondary
#542575
accent
#37F1A4
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1B3608

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

Preview Lab → · Contrast checker → · Palette generator →

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