#1B2B02#1B2B02

#1B2B02 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.5% C 0.067 H 128.7°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#1B2B02
RGBrgb(27, 43, 2)
HSLhsl(83, 91%, 9%)
HSVhsv(83, 95%, 17%)
CMYKcmyk(37.2%, 0%, 95.3%, 83.1%)
CIE-LABlab(15.30, -14.54, 21.14)
CIE-LCHlch(15.30, 25.65, 124.52°)
OKLaboklab(26.5% -0.0418 0.0522)
OKLCHoklch(26.5% 0.067 128.7)
XYZxyz(1.3268, 1.9651, 0.3668)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B02 #12022B
analogous
#2B2702 #1B2B02 #072B02
triadic
#1B2B02 #021B2B #2B021B
tetradic
#1B2B02 #022B27 #12022B #2B0207
square
#1B2B02 #022B27 #12022B #2B0207
split-complementary
#1B2B02 #02072B #27022B
monochromatic
#121D01 #121D01 #1B2B02 #406505 #64A007

Accessibility & contrast

On white

15.08
#1B2B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1B2B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B02
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B02#FFFFFF#000000##FFFFFF
##1B2B021.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2C2605
Tritanopia (blue-blind)
#1C2923
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b2b02;
/* rgb */ color: rgb(27, 43, 2);
/* oklch */ color: oklch(26.5% 0.067 128.7);
Tailwind
colors: {
  custom: {
    50: '#586447',
    500: '#1b2b02',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b02;
$custom-light: #586447;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b02",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 83.415,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26497,
    "c": 0.06689,
    "h": 128.7
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#1B2B02
secondary
#3B1970
accent
#29FF7C
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #1B2B02

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

Preview Lab → · Contrast checker → · Palette generator →

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