#1B3402#1B3402

#1B3402 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.3% C 0.080 H 133.1°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#1B3402
RGBrgb(27, 52, 2)
HSLhsl(90, 93%, 11%)
HSVhsv(90, 96%, 20%)
CMYKcmyk(48.1%, 0%, 96.2%, 79.6%)
CIE-LABlab(18.77, -19.35, 25.38)
CIE-LCHlch(18.77, 31.92, 127.32°)
OKLaboklab(29.33% -0.0547 0.0586)
OKLCHoklch(29.33% 0.08 133.1)
XYZxyz(1.6909, 2.6933, 0.4882)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3402 #1B0234
analogous
#343402 #1B3402 #023402
triadic
#1B3402 #021B34 #34021B
tetradic
#1B3402 #023434 #1B0234 #340202
square
#1B3402 #023434 #1B0234 #340202
split-complementary
#1B3402 #020234 #340234
monochromatic
#0F1D01 #0F1D01 #1B3402 #3A6F04 #58AA07

Accessibility & contrast

On white

13.65
#1B3402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1B3402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3402
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3402#FFFFFF#000000##FFFFFF
##1B34021.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#332D06
Tritanopia (blue-blind)
#1B312B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b3402;
/* rgb */ color: rgb(27, 52, 2);
/* oklch */ color: oklch(29.3% 0.080 133.1);
Tailwind
colors: {
  custom: {
    50: '#5a6b48',
    500: '#1b3402',
    950: '#000000',
  },
}
SCSS
$custom: #1b3402;
$custom-light: #5a6b48;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3402",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 90,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29331,
    "c": 0.08017,
    "h": 133.1
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#1B3402
secondary
#491A78
accent
#29FF94
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1B3402

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

Preview Lab → · Contrast checker → · Palette generator →

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