#1B3201#1B3201

#1B3201 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.7% C 0.078 H 132.0°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#1B3201
RGBrgb(27, 50, 1)
HSLhsl(88, 96%, 10%)
HSVhsv(88, 98%, 20%)
CMYKcmyk(46%, 0%, 98%, 80.4%)
CIE-LABlab(17.99, -18.43, 24.87)
CIE-LCHlch(17.99, 30.95, 126.54°)
OKLaboklab(28.69% -0.0524 0.0582)
OKLCHoklch(28.69% 0.078 132)
XYZxyz(1.5981, 2.5163, 0.4302)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3201 #180132
analogous
#323001 #1B3201 #033201
triadic
#1B3201 #011B32 #32011B
tetradic
#1B3201 #013230 #180132 #320103
square
#1B3201 #013230 #180132 #320103
split-complementary
#1B3201 #010332 #300132
monochromatic
#101E01 #101E01 #1B3201 #3B6E02 #5CAA03

Accessibility & contrast

On white

13.97
#1B3201 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1B3201 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3201
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3201#FFFFFF#000000##FFFFFF
##1B32011.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#322B05
Tritanopia (blue-blind)
#1B2F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b3201;
/* rgb */ color: rgb(27, 50, 1);
/* oklch */ color: oklch(28.7% 0.078 132.0);
Tailwind
colors: {
  custom: {
    50: '#5a6a47',
    500: '#1b3201',
    950: '#000000',
  },
}
SCSS
$custom: #1b3201;
$custom-light: #5a6a47;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3201",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 1
  },
  "hsl": {
    "h": 88.163,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.2869,
    "c": 0.0783,
    "h": 132
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#1B3201
secondary
#441777
accent
#29FF8D
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1B3201

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

Preview Lab → · Contrast checker → · Palette generator →

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