#1B2602#1B2602

#1B2602 is a very dark, muted yellow-green. Relative luminance 0.016; OKLCH L 24.9% C 0.059 H 124.9°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#1B2602
RGBrgb(27, 38, 2)
HSLhsl(78, 90%, 8%)
HSVhsv(78, 95%, 15%)
CMYKcmyk(28.9%, 0%, 94.7%, 85.1%)
CIE-LABlab(13.37, -11.62, 18.62)
CIE-LCHlch(13.37, 21.95, 121.96°)
OKLaboklab(24.93% -0.0339 0.0486)
OKLCHoklch(24.93% 0.059 124.9)
XYZxyz(1.1561, 1.6236, 0.3099)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2602 #0D0226
analogous
#261F02 #1B2602 #092602
triadic
#1B2602 #021B26 #26021B
tetradic
#1B2602 #02261F #0D0226 #260209
square
#1B2602 #02261F #0D0226 #260209
split-complementary
#1B2602 #020926 #1F0226
monochromatic
#151D02 #151D02 #1B2602 #446005 #6E9A08

Accessibility & contrast

On white

15.85
#1B2602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1B2602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2602
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2602#FFFFFF#000000##FFFFFF
##1B26021.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#272204
Tritanopia (blue-blind)
#1D241F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1b2602;
/* rgb */ color: rgb(27, 38, 2);
/* oklch */ color: oklch(24.9% 0.059 124.9);
Tailwind
colors: {
  custom: {
    50: '#586047',
    500: '#1b2602',
    950: '#000000',
  },
}
SCSS
$custom: #1b2602;
$custom-light: #586047;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2602",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 78.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24929,
    "c": 0.05928,
    "h": 124.9
  },
  "luminance": 0.01624
}

Semantic roles & 50–950 ramp

primary
#1B2602
secondary
#32186B
accent
#29FF6A
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1B2602

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

Preview Lab → · Contrast checker → · Palette generator →

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