#1A2D03#1A2D03

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

Color values

HEX#1A2D03
RGBrgb(26, 45, 3)
HSLhsl(87, 88%, 9%)
HSVhsv(87, 93%, 18%)
CMYKcmyk(42.2%, 0%, 93.3%, 82.4%)
CIE-LABlab(16.02, -16.01, 21.62)
CIE-LCHlch(16.02, 26.90, 126.52°)
OKLaboklab(27.07% -0.0456 0.0524)
OKLCHoklch(27.07% 0.069 131)
XYZxyz(1.3808, 2.1029, 0.4193)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D03 #16032D
analogous
#2D2B03 #1A2D03 #052D03
triadic
#1A2D03 #031A2D #2D031A
tetradic
#1A2D03 #032D2B #16032D #2D0305
square
#1A2D03 #032D2B #16032D #2D0305
split-complementary
#1A2D03 #03052D #2B032D
monochromatic
#111D02 #111D02 #1A2D03 #3B6607 #5CA00B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A2D03#FFFFFF#000000##FFFFFF
##1A2D031.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)
#302900
Deuteranopia (green-blind)
#2D2706
Tritanopia (blue-blind)
#1B2B25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a2d03;
/* rgb */ color: rgb(26, 45, 3);
/* oklch */ color: oklch(27.1% 0.069 131.0);
Tailwind
colors: {
  custom: {
    50: '#586648',
    500: '#1a2d03',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d03;
$custom-light: #586648;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d03",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 87.143,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27065,
    "c": 0.06943,
    "h": 131
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#1A2D03
secondary
#421B71
accent
#2AFE8A
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #1A2D03

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

Preview Lab → · Contrast checker → · Palette generator →

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