#1A2E04#1A2E04

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

Color values

HEX#1A2E04
RGBrgb(26, 46, 4)
HSLhsl(89, 84%, 10%)
HSVhsv(89, 91%, 18%)
CMYKcmyk(43.5%, 0%, 91.3%, 82%)
CIE-LABlab(16.42, -16.44, 21.71)
CIE-LCHlch(16.42, 27.23, 127.13°)
OKLaboklab(27.39% -0.0466 0.0521)
OKLCHoklch(27.39% 0.07 131.8)
XYZxyz(1.4249, 2.1823, 0.4610)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E04 #18042E
analogous
#2E2D04 #1A2E04 #052E04
triadic
#1A2E04 #041A2E #2E041A
tetradic
#1A2E04 #042E2D #18042E #2E0405
square
#1A2E04 #042E2D #18042E #2E0405
split-complementary
#1A2E04 #04052E #2D042E
monochromatic
#101C02 #101C02 #1A2E04 #3A6609 #5A9F0E

Accessibility & contrast

On white

14.62
#1A2E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2E04
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E04#FFFFFF#000000##FFFFFF
##1A2E041.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2e04;
/* rgb */ color: rgb(26, 46, 4);
/* oklch */ color: oklch(27.4% 0.070 131.8);
Tailwind
colors: {
  custom: {
    50: '#586749',
    500: '#1a2e04',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e04;
$custom-light: #586749;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e04",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 88.571,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27394,
    "c": 0.06986,
    "h": 131.8
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#1A2E04
secondary
#451D71
accent
#2EFA8F
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030601
muted
#787A77

Preview Lab

Preview with #1A2E04

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

Preview Lab → · Contrast checker → · Palette generator →

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