#1B3A06#1B3A06

#1B3A06 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.3% C 0.085 H 135.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#1B3A06
RGBrgb(27, 58, 6)
HSLhsl(96, 81%, 13%)
HSVhsv(96, 90%, 23%)
CMYKcmyk(53.4%, 0%, 89.7%, 77.3%)
CIE-LABlab(21.10, -21.93, 26.39)
CIE-LCHlch(21.10, 34.32, 129.73°)
OKLaboklab(31.26% -0.0612 0.0595)
OKLCHoklch(31.26% 0.085 135.8)
XYZxyz(1.9979, 3.2721, 0.6986)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A06 #25063A
analogous
#353A06 #1B3A06 #063A0B
triadic
#1B3A06 #061B3A #3A061B
tetradic
#1B3A06 #06353A #25063A #3A0B06
square
#1B3A06 #06353A #25063A #3A0B06
split-complementary
#1B3A06 #0B063A #3A0635
monochromatic
#0D1C03 #0D1C03 #1B3A06 #35710C #4FA911

Accessibility & contrast

On white

12.69
#1B3A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B3A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A06
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A06#FFFFFF#000000##FFFFFF
##1B3A061.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#38320B
Tritanopia (blue-blind)
#1A3730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b3a06;
/* rgb */ color: rgb(27, 58, 6);
/* oklch */ color: oklch(31.3% 0.085 135.8);
Tailwind
colors: {
  custom: {
    50: '#5b704b',
    500: '#1b3a06',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a06;
$custom-light: #5b704b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a06",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 95.769,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31255,
    "c": 0.08535,
    "h": 135.8
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#1B3A06
secondary
#56227A
accent
#30F8A7
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1B3A06

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

Preview Lab → · Contrast checker → · Palette generator →

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