#1A2D04#1A2D04

#1A2D04 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.068 H 131.3°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#1A2D04
RGBrgb(26, 45, 4)
HSLhsl(88, 84%, 10%)
HSVhsv(88, 91%, 18%)
CMYKcmyk(42.2%, 0%, 91.1%, 82.4%)
CIE-LABlab(16.03, -15.89, 21.23)
CIE-LCHlch(16.03, 26.52, 126.82°)
OKLaboklab(27.08% -0.0451 0.0513)
OKLCHoklch(27.08% 0.068 131.3)
XYZxyz(1.3863, 2.1051, 0.4481)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D04 #17042D
analogous
#2D2C04 #1A2D04 #062D04
triadic
#1A2D04 #041A2D #2D041A
tetradic
#1A2D04 #042D2C #17042D #2D0406
square
#1A2D04 #042D2C #17042D #2D0406
split-complementary
#1A2D04 #04062D #2C042D
monochromatic
#101C02 #101C02 #1A2D04 #3A6509 #5B9D0E

Accessibility & contrast

On white

14.78
#1A2D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1A2D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D04
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D04#FFFFFF#000000##FFFFFF
##1A2D041.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#2D2707
Tritanopia (blue-blind)
#1B2B25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a2d04;
/* rgb */ color: rgb(26, 45, 4);
/* oklch */ color: oklch(27.1% 0.068 131.3);
Tailwind
colors: {
  custom: {
    50: '#586648',
    500: '#1a2d04',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d04;
$custom-light: #586648;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d04",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 87.805,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27078,
    "c": 0.06831,
    "h": 131.3
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#1A2D04
secondary
#431D70
accent
#2EFA8C
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #1A2D04

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

Preview Lab → · Contrast checker → · Palette generator →

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