#1B3103#1B3103

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

Color values

HEX#1B3103
RGBrgb(27, 49, 3)
HSLhsl(89, 88%, 10%)
HSVhsv(89, 94%, 19%)
CMYKcmyk(44.9%, 0%, 93.9%, 80.8%)
CIE-LABlab(17.63, -17.70, 23.61)
CIE-LCHlch(17.63, 29.51, 126.85°)
OKLaboklab(28.4% -0.0502 0.0555)
OKLCHoklch(28.4% 0.075 132.1)
XYZxyz(1.5667, 2.4361, 0.4738)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3103 #190331
analogous
#313003 #1B3103 #043103
triadic
#1B3103 #031B31 #31031B
tetradic
#1B3103 #033130 #190331 #310304
square
#1B3103 #033130 #190331 #310304
split-complementary
#1B3103 #030431 #300331
monochromatic
#101D02 #101D02 #1B3103 #3B6B07 #5BA40A

Accessibility & contrast

On white

14.12
#1B3103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3103
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3103#FFFFFF#000000##FFFFFF
##1B31031.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342C00
Deuteranopia (green-blind)
#312B07
Tritanopia (blue-blind)
#1B2E28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1b3103;
/* rgb */ color: rgb(27, 49, 3);
/* oklch */ color: oklch(28.4% 0.075 132.1);
Tailwind
colors: {
  custom: {
    50: '#596948',
    500: '#1b3103',
    950: '#000000',
  },
}
SCSS
$custom: #1b3103;
$custom-light: #596948;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3103",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 88.696,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28397,
    "c": 0.0748,
    "h": 132.1
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#1B3103
secondary
#461B74
accent
#29FF8F
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1B3103

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

Preview Lab → · Contrast checker → · Palette generator →

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