#1B3903#1B3903

#1B3903 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 30.9% C 0.086 H 134.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#1B3903
RGBrgb(27, 57, 3)
HSLhsl(93, 90%, 12%)
HSVhsv(93, 95%, 22%)
CMYKcmyk(52.6%, 0%, 94.7%, 77.6%)
CIE-LABlab(20.70, -21.73, 27.17)
CIE-LCHlch(20.70, 34.79, 128.65°)
OKLaboklab(30.91% -0.061 0.0612)
OKLCHoklch(30.91% 0.086 134.9)
XYZxyz(1.9315, 3.1657, 0.5954)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3903 #210339
analogous
#363903 #1B3903 #033906
triadic
#1B3903 #031B39 #39031B
tetradic
#1B3903 #033639 #210339 #390603
square
#1B3903 #033639 #210339 #390603
split-complementary
#1B3903 #060339 #390336
monochromatic
#0E1D02 #0E1D02 #1B3903 #377306 #52AD09

Accessibility & contrast

On white

12.86
#1B3903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B3903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3903
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3903#FFFFFF#000000##FFFFFF
##1B39031.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3300
Deuteranopia (green-blind)
#383108
Tritanopia (blue-blind)
#1A362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b3903;
/* rgb */ color: rgb(27, 57, 3);
/* oklch */ color: oklch(30.9% 0.086 134.9);
Tailwind
colors: {
  custom: {
    50: '#5b6f49',
    500: '#1b3903',
    950: '#000000',
  },
}
SCSS
$custom: #1b3903;
$custom-light: #5b6f49;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3903",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 3
  },
  "hsl": {
    "h": 93.333,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30913,
    "c": 0.08639,
    "h": 134.9
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#1B3903
secondary
#511C7C
accent
#29FFA0
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1B3903

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

Preview Lab → · Contrast checker → · Palette generator →

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