#1B2F04#1B2F04

#1B2F04 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.8% C 0.071 H 131.5°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1B2F04
RGBrgb(27, 47, 4)
HSLhsl(88, 84%, 10%)
HSVhsv(88, 91%, 18%)
CMYKcmyk(42.6%, 0%, 91.5%, 81.6%)
CIE-LABlab(16.87, -16.52, 22.28)
CIE-LCHlch(16.87, 27.74, 126.56°)
OKLaboklab(27.78% -0.0469 0.053)
OKLCHoklch(27.78% 0.071 131.5)
XYZxyz(1.4904, 2.2747, 0.4754)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F04 #18042F
analogous
#2F2E04 #1B2F04 #052F04
triadic
#1B2F04 #041B2F #2F041B
tetradic
#1B2F04 #042F2E #18042F #2F0405
square
#1B2F04 #042F2E #18042F #2F0405
split-complementary
#1B2F04 #04052F #2E042F
monochromatic
#101C02 #101C02 #1B2F04 #3B6709 #5CA00E

Accessibility & contrast

On white

14.43
#1B2F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1B2F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F04
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F04#FFFFFF#000000##FFFFFF
##1B2F041.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#1C2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b2f04;
/* rgb */ color: rgb(27, 47, 4);
/* oklch */ color: oklch(27.8% 0.071 131.5);
Tailwind
colors: {
  custom: {
    50: '#596749',
    500: '#1b2f04',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f04;
$custom-light: #596749;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f04",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 87.907,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.2778,
    "c": 0.07074,
    "h": 131.5
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#1B2F04
secondary
#441D72
accent
#2DFB8D
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040601
muted
#797A77

Preview Lab

Preview with #1B2F04

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

Preview Lab → · Contrast checker → · Palette generator →

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