#1B3F03#1B3F03

#1B3F03 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 32.8% C 0.095 H 136.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#1B3F03
RGBrgb(27, 63, 3)
HSLhsl(96, 91%, 13%)
HSVhsv(96, 95%, 25%)
CMYKcmyk(57.1%, 0%, 95.2%, 75.3%)
CIE-LABlab(22.98, -24.54, 29.61)
CIE-LCHlch(22.98, 38.45, 129.65°)
OKLaboklab(32.79% -0.0685 0.0654)
OKLCHoklch(32.79% 0.095 136.3)
XYZxyz(2.2459, 3.7944, 0.7002)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F03 #27033F
analogous
#393F03 #1B3F03 #033F09
triadic
#1B3F03 #031B3F #3F031B
tetradic
#1B3F03 #03393F #27033F #3F0903
square
#1B3F03 #03393F #27033F #3F0903
split-complementary
#1B3F03 #09033F #3F0339
monochromatic
#0D1D01 #0D1D01 #1B3F03 #347906 #4DB409

Accessibility & contrast

On white

11.94
#1B3F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1B3F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F03
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F03#FFFFFF#000000##FFFFFF
##1B3F031.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#193C34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b3f03;
/* rgb */ color: rgb(27, 63, 3);
/* oklch */ color: oklch(32.8% 0.095 136.3);
Tailwind
colors: {
  custom: {
    50: '#5c744a',
    500: '#1b3f03',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f03;
$custom-light: #5c744a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f03",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 3
  },
  "hsl": {
    "h": 96,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.0947,
    "h": 136.3
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#1B3F03
secondary
#591D81
accent
#29FFA9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1B3F03

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

Preview Lab → · Contrast checker → · Palette generator →

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