#1B3D06#1B3D06

#1B3D06 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.2% C 0.090 H 136.5°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1B3D06
RGBrgb(27, 61, 6)
HSLhsl(97, 82%, 13%)
HSVhsv(97, 90%, 24%)
CMYKcmyk(55.7%, 0%, 90.2%, 76.1%)
CIE-LABlab(22.24, -23.36, 27.62)
CIE-LCHlch(22.24, 36.17, 130.23°)
OKLaboklab(32.19% -0.065 0.0617)
OKLCHoklch(32.19% 0.09 136.5)
XYZxyz(2.1535, 3.5835, 0.7505)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D06 #28063D
analogous
#363D06 #1B3D06 #063D0C
triadic
#1B3D06 #061B3D #3D061B
tetradic
#1B3D06 #06363D #28063D #3D0C06
square
#1B3D06 #06363D #28063D #3D0C06
split-complementary
#1B3D06 #0C063D #3D0636
monochromatic
#0C1C03 #0C1C03 #1B3D06 #34750B #4CAC11

Accessibility & contrast

On white

12.23
#1B3D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1B3D06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D06
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D06#FFFFFF#000000##FFFFFF
##1B3D061.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#193A33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b3d06;
/* rgb */ color: rgb(27, 61, 6);
/* oklch */ color: oklch(32.2% 0.090 136.5);
Tailwind
colors: {
  custom: {
    50: '#5c734b',
    500: '#1b3d06',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d06;
$custom-light: #5c734b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d06",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 6
  },
  "hsl": {
    "h": 97.091,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32193,
    "c": 0.08966,
    "h": 136.5
  },
  "luminance": 0.03584
}

Semantic roles & 50–950 ramp

primary
#1B3D06
secondary
#5A227D
accent
#2FF8AC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1B3D06

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

Preview Lab → · Contrast checker → · Palette generator →

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