#1B3105#1B3105

#1B3105 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.4% C 0.073 H 132.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#1B3105
RGBrgb(27, 49, 5)
HSLhsl(90, 81%, 11%)
HSVhsv(90, 90%, 19%)
CMYKcmyk(44.9%, 0%, 89.8%, 80.8%)
CIE-LABlab(17.65, -17.49, 22.82)
CIE-LCHlch(17.65, 28.75, 127.46°)
OKLaboklab(28.42% -0.0493 0.0535)
OKLCHoklch(28.42% 0.073 132.7)
XYZxyz(1.5777, 2.4405, 0.5315)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3105 #1B0531
analogous
#313105 #1B3105 #053105
triadic
#1B3105 #051B31 #31051B
tetradic
#1B3105 #053131 #1B0531 #310505
square
#1B3105 #053131 #1B0531 #310505
split-complementary
#1B3105 #050531 #310531
monochromatic
#0F1C03 #0F1C03 #1B3105 #3A690B #58A010

Accessibility & contrast

On white

14.11
#1B3105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1B3105 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3105
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3105#FFFFFF#000000##FFFFFF
##1B31051.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#302B09
Tritanopia (blue-blind)
#1B2F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1b3105;
/* rgb */ color: rgb(27, 49, 5);
/* oklch */ color: oklch(28.4% 0.073 132.7);
Tailwind
colors: {
  custom: {
    50: '#596949',
    500: '#1b3105',
    950: '#000000',
  },
}
SCSS
$custom: #1b3105;
$custom-light: #596949;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3105",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 5
  },
  "hsl": {
    "h": 90,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2842,
    "c": 0.07279,
    "h": 132.7
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#1B3105
secondary
#491F72
accent
#30F894
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1B3105

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

Preview Lab → · Contrast checker → · Palette generator →

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