#1A2E02#1A2E02

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

Color values

HEX#1A2E02
RGBrgb(26, 46, 2)
HSLhsl(87, 92%, 9%)
HSVhsv(87, 96%, 18%)
CMYKcmyk(43.5%, 0%, 95.7%, 82%)
CIE-LABlab(16.39, -16.66, 22.50)
CIE-LCHlch(16.39, 28.00, 126.52°)
OKLaboklab(27.37% -0.0475 0.0542)
OKLCHoklch(27.37% 0.072 131.2)
XYZxyz(1.4139, 2.1779, 0.4033)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E02 #16022E
analogous
#2E2C02 #1A2E02 #042E02
triadic
#1A2E02 #021A2E #2E021A
tetradic
#1A2E02 #022E2C #16022E #2E0204
square
#1A2E02 #022E2C #16022E #2E0204
split-complementary
#1A2E02 #02042E #2C022E
monochromatic
#111D01 #111D01 #1A2E02 #3B6905 #5CA307

Accessibility & contrast

On white

14.63
#1A2E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2E02
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E02#FFFFFF#000000##FFFFFF
##1A2E021.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2e02;
/* rgb */ color: rgb(26, 46, 2);
/* oklch */ color: oklch(27.4% 0.072 131.2);
Tailwind
colors: {
  custom: {
    50: '#586748',
    500: '#1a2e02',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e02;
$custom-light: #586748;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e02",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 87.273,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27369,
    "c": 0.07205,
    "h": 131.2
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#1A2E02
secondary
#421973
accent
#29FF8A
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #1A2E02

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

Preview Lab → · Contrast checker → · Palette generator →

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