#1A2C00#1A2C00

#1A2C00 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.7% C 0.071 H 129.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#1A2C00
RGBrgb(26, 44, 0)
HSLhsl(85, 100%, 9%)
HSVhsv(85, 100%, 17%)
CMYKcmyk(40.9%, 0%, 100%, 82.7%)
CIE-LABlab(15.60, -15.80, 22.31)
CIE-LCHlch(15.60, 27.34, 125.31°)
OKLaboklab(26.71% -0.0455 0.0551)
OKLCHoklch(26.71% 0.071 129.6)
XYZxyz(1.3267, 2.0209, 0.3202)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C00 #12002C
analogous
#2C2800 #1A2C00 #042C00
triadic
#1A2C00 #001A2C #2C001A
tetradic
#1A2C00 #002C28 #12002C #2C0004
square
#1A2C00 #002C28 #12002C #2C0004
split-complementary
#1A2C00 #00042C #28002C
monochromatic
#121F00 #121F00 #1A2C00 #3E6900 #62A600

Accessibility & contrast

On white

14.96
#1A2C00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1A2C00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C00
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C00#FFFFFF#000000##FFFFFF
##1A2C001.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2C2603
Tritanopia (blue-blind)
#1B2924
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a2c00;
/* rgb */ color: rgb(26, 44, 0);
/* oklch */ color: oklch(26.7% 0.071 129.6);
Tailwind
colors: {
  custom: {
    50: '#586547',
    500: '#1a2c00',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c00;
$custom-light: #586547;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c00",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 0
  },
  "hsl": {
    "h": 84.545,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.2671,
    "c": 0.07145,
    "h": 129.6
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#1A2C00
secondary
#3B1473
accent
#29FF80
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #1A2C00

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

Preview Lab → · Contrast checker → · Palette generator →

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