#1B3307#1B3307

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

Color values

HEX#1B3307
RGBrgb(27, 51, 7)
HSLhsl(93, 76%, 11%)
HSVhsv(93, 86%, 20%)
CMYKcmyk(47.1%, 0%, 86.3%, 80%)
CIE-LABlab(18.43, -18.33, 22.95)
CIE-LCHlch(18.43, 29.37, 128.62°)
OKLaboklab(29.07% -0.0514 0.0532)
OKLCHoklch(29.07% 0.074 134)
XYZxyz(1.6741, 2.6159, 0.6177)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3307 #1F0733
analogous
#313307 #1B3307 #073309
triadic
#1B3307 #071B33 #33071B
tetradic
#1B3307 #073133 #1F0733 #330907
square
#1B3307 #073133 #1F0733 #330907
split-complementary
#1B3307 #090733 #330731
monochromatic
#0E1B04 #0E1B04 #1B3307 #37690E #549F16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B3307#FFFFFF#000000##FFFFFF
##1B33071.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)
#352E02
Deuteranopia (green-blind)
#322C0B
Tritanopia (blue-blind)
#1B312A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b3307;
/* rgb */ color: rgb(27, 51, 7);
/* oklch */ color: oklch(29.1% 0.074 134.0);
Tailwind
colors: {
  custom: {
    50: '#5a6b4a',
    500: '#1b3307',
    950: '#000000',
  },
}
SCSS
$custom: #1b3307;
$custom-light: #5a6b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3307",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 92.727,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29071,
    "c": 0.07398,
    "h": 134
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#1B3307
secondary
#4F2373
accent
#35F29C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1B3307

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

Preview Lab → · Contrast checker → · Palette generator →

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