#1B2E02#1B2E02

#1B2E02 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.4% C 0.071 H 130.4°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#1B2E02
RGBrgb(27, 46, 2)
HSLhsl(86, 92%, 9%)
HSVhsv(86, 96%, 18%)
CMYKcmyk(41.3%, 0%, 95.7%, 82%)
CIE-LABlab(16.46, -16.20, 22.59)
CIE-LCHlch(16.46, 27.80, 125.64°)
OKLaboklab(27.44% -0.0463 0.0543)
OKLCHoklch(27.44% 0.071 130.4)
XYZxyz(1.4399, 2.1913, 0.4045)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E02 #15022E
analogous
#2E2B02 #1B2E02 #052E02
triadic
#1B2E02 #021B2E #2E021B
tetradic
#1B2E02 #022E2B #15022E #2E0205
square
#1B2E02 #022E2B #15022E #2E0205
split-complementary
#1B2E02 #02052E #2B022E
monochromatic
#111D01 #111D01 #1B2E02 #3D6905 #60A307

Accessibility & contrast

On white

14.60
#1B2E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1B2E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E02
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E02#FFFFFF#000000##FFFFFF
##1B2E021.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2E2805
Tritanopia (blue-blind)
#1C2B26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1b2e02;
/* rgb */ color: rgb(27, 46, 2);
/* oklch */ color: oklch(27.4% 0.071 130.4);
Tailwind
colors: {
  custom: {
    50: '#596748',
    500: '#1b2e02',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e02;
$custom-light: #596748;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e02",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 85.909,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27441,
    "c": 0.07139,
    "h": 130.4
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#1B2E02
secondary
#401973
accent
#29FF85
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #1B2E02

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

Preview Lab → · Contrast checker → · Palette generator →

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