#1A2D02#1A2D02

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

Color values

HEX#1A2D02
RGBrgb(26, 45, 2)
HSLhsl(87, 91%, 9%)
HSVhsv(87, 96%, 18%)
CMYKcmyk(42.2%, 0%, 95.6%, 82.4%)
CIE-LABlab(16.01, -16.12, 22.01)
CIE-LCHlch(16.01, 27.29, 126.22°)
OKLaboklab(27.05% -0.046 0.0535)
OKLCHoklch(27.05% 0.071 130.7)
XYZxyz(1.3753, 2.1007, 0.3904)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D02 #15022D
analogous
#2D2B02 #1A2D02 #042D02
triadic
#1A2D02 #021A2D #2D021A
tetradic
#1A2D02 #022D2B #15022D #2D0204
square
#1A2D02 #022D2B #15022D #2D0204
split-complementary
#1A2D02 #02042D #2B022D
monochromatic
#111D01 #111D01 #1A2D02 #3C6805 #5EA207

Accessibility & contrast

On white

14.79
#1A2D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2D02
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D02#FFFFFF#000000##FFFFFF
##1A2D021.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2d02;
/* rgb */ color: rgb(26, 45, 2);
/* oklch */ color: oklch(27.1% 0.071 130.7);
Tailwind
colors: {
  custom: {
    50: '#586648',
    500: '#1a2d02',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d02;
$custom-light: #586648;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d02",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 86.512,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27052,
    "c": 0.07055,
    "h": 130.7
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#1A2D02
secondary
#401972
accent
#29FF87
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #1A2D02

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

Preview Lab → · Contrast checker → · Palette generator →

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