#1B4603#1B4603

#1B4603 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.0% C 0.104 H 137.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#1B4603
RGBrgb(27, 70, 3)
HSLhsl(99, 92%, 14%)
HSVhsv(99, 96%, 27%)
CMYKcmyk(61.4%, 0%, 95.7%, 72.5%)
CIE-LABlab(25.62, -27.63, 32.19)
CIE-LCHlch(25.62, 42.43, 130.64°)
OKLaboklab(34.97% -0.0767 0.0702)
OKLCHoklch(34.97% 0.104 137.5)
XYZxyz(2.6585, 4.6197, 0.8377)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4603 #2E0346
analogous
#3D4603 #1B4603 #03460C
triadic
#1B4603 #031B46 #46031B
tetradic
#1B4603 #033D46 #2E0346 #460C03
square
#1B4603 #033D46 #2E0346 #460C03
split-complementary
#1B4603 #0C0346 #46033D
monochromatic
#0B1D01 #0B1D01 #1B4603 #328106 #48BB08

Accessibility & contrast

On white

10.91
#1B4603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1B4603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4603
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4603#FFFFFF#000000##FFFFFF
##1B46031.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F00
Deuteranopia (green-blind)
#433B0B
Tritanopia (blue-blind)
#18433A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b4603;
/* rgb */ color: rgb(27, 70, 3);
/* oklch */ color: oklch(35.0% 0.104 137.5);
Tailwind
colors: {
  custom: {
    50: '#5e7a4b',
    500: '#1b4603',
    950: '#000000',
  },
}
SCSS
$custom: #1b4603;
$custom-light: #5e7a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4603",
  "rgb": {
    "r": 27,
    "g": 70,
    "b": 3
  },
  "hsl": {
    "h": 98.507,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34971,
    "c": 0.10402,
    "h": 137.5
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#1B4603
secondary
#611D87
accent
#29FFB2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050901
muted
#797B77

Preview Lab

Preview with #1B4603

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

Preview Lab → · Contrast checker → · Palette generator →

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