#1B2E04#1B2E04

#1B2E04 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.5% C 0.069 H 131.0°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#1B2E04
RGBrgb(27, 46, 4)
HSLhsl(87, 84%, 10%)
HSVhsv(87, 91%, 18%)
CMYKcmyk(41.3%, 0%, 91.3%, 82%)
CIE-LABlab(16.48, -15.98, 21.81)
CIE-LCHlch(16.48, 27.03, 126.23°)
OKLaboklab(27.47% -0.0454 0.0522)
OKLCHoklch(27.47% 0.069 131)
XYZxyz(1.4509, 2.1957, 0.4622)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E04 #17042E
analogous
#2E2C04 #1B2E04 #062E04
triadic
#1B2E04 #041B2E #2E041B
tetradic
#1B2E04 #042E2C #17042E #2E0406
square
#1B2E04 #042E2C #17042E #2E0406
split-complementary
#1B2E04 #04062E #2C042E
monochromatic
#111C02 #111C02 #1B2E04 #3C6609 #5D9F0E

Accessibility & contrast

On white

14.59
#1B2E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2E04
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E04#FFFFFF#000000##FFFFFF
##1B2E041.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2e04;
/* rgb */ color: rgb(27, 46, 4);
/* oklch */ color: oklch(27.5% 0.069 131.0);
Tailwind
colors: {
  custom: {
    50: '#596749',
    500: '#1b2e04',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e04;
$custom-light: #596749;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e04",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 87.143,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27465,
    "c": 0.06921,
    "h": 131
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#1B2E04
secondary
#431D71
accent
#2EFA8A
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030601
muted
#787A77

Preview Lab

Preview with #1B2E04

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

Preview Lab → · Contrast checker → · Palette generator →

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