#1B3607#1B3607

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

Color values

HEX#1B3607
RGBrgb(27, 54, 7)
HSLhsl(94, 77%, 12%)
HSVhsv(94, 87%, 21%)
CMYKcmyk(50%, 0%, 87%, 78.8%)
CIE-LABlab(19.58, -19.87, 24.29)
CIE-LCHlch(19.58, 31.38, 129.29°)
OKLaboklab(30.01% -0.0555 0.0556)
OKLCHoklch(30.01% 0.079 135)
XYZxyz(1.8095, 2.8866, 0.6628)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3607 #220736
analogous
#333607 #1B3607 #07360B
triadic
#1B3607 #071B36 #36071B
tetradic
#1B3607 #073336 #220736 #360B07
square
#1B3607 #073336 #220736 #360B07
split-complementary
#1B3607 #0B0736 #360733
monochromatic
#0E1B04 #0E1B04 #1B3607 #366C0E #51A215

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B3607#FFFFFF#000000##FFFFFF
##1B36071.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)
#383101
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#1A342D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b3607;
/* rgb */ color: rgb(27, 54, 7);
/* oklch */ color: oklch(30.0% 0.079 135.0);
Tailwind
colors: {
  custom: {
    50: '#5a6d4b',
    500: '#1b3607',
    950: '#000000',
  },
}
SCSS
$custom: #1b3607;
$custom-light: #5a6d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3607",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 7
  },
  "hsl": {
    "h": 94.468,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30011,
    "c": 0.07858,
    "h": 135
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#1B3607
secondary
#532376
accent
#34F4A2
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1B3607

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

Preview Lab → · Contrast checker → · Palette generator →

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