#1A2802#1A2802

#1A2802 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.5% C 0.063 H 127.6°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#1A2802
RGBrgb(26, 40, 2)
HSLhsl(82, 90%, 8%)
HSVhsv(82, 95%, 16%)
CMYKcmyk(35%, 0%, 95%, 84.3%)
CIE-LABlab(14.07, -13.31, 19.53)
CIE-LCHlch(14.07, 23.63, 124.29°)
OKLaboklab(25.47% -0.0385 0.0499)
OKLCHoklch(25.47% 0.063 127.6)
XYZxyz(1.1958, 1.7416, 0.3306)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2802 #100228
analogous
#282302 #1A2802 #072802
triadic
#1A2802 #021A28 #28021A
tetradic
#1A2802 #022823 #100228 #280207
square
#1A2802 #022823 #100228 #280207
split-complementary
#1A2802 #020728 #230228
monochromatic
#131D01 #131D01 #1A2802 #406205 #669D08

Accessibility & contrast

On white

15.57
#1A2802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1A2802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2802
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2802#FFFFFF#000000##FFFFFF
##1A28021.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2400
Deuteranopia (green-blind)
#292305
Tritanopia (blue-blind)
#1B2621
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a2802;
/* rgb */ color: rgb(26, 40, 2);
/* oklch */ color: oklch(25.5% 0.063 127.6);
Tailwind
colors: {
  custom: {
    50: '#576247',
    500: '#1a2802',
    950: '#000000',
  },
}
SCSS
$custom: #1a2802;
$custom-light: #576247;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2802",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 82.105,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.25472,
    "c": 0.06299,
    "h": 127.6
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#1A2802
secondary
#38196D
accent
#29FF78
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #1A2802

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

Preview Lab → · Contrast checker → · Palette generator →

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