#1A310A#1A310A

#1A310A is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.4% C 0.069 H 134.9°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#1A310A
RGBrgb(26, 49, 10)
HSLhsl(95, 66%, 12%)
HSVhsv(95, 80%, 19%)
CMYKcmyk(46.9%, 0%, 79.6%, 80.8%)
CIE-LABlab(17.64, -17.40, 20.76)
CIE-LCHlch(17.64, 27.09, 129.97°)
OKLaboklab(28.41% -0.0485 0.0487)
OKLCHoklch(28.41% 0.069 134.9)
XYZxyz(1.5791, 2.4381, 0.6745)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A310A #210A31
analogous
#2E310A #1A310A #0A310E
triadic
#1A310A #0A1A31 #310A1A
tetradic
#1A310A #0A2E31 #210A31 #310E0A
square
#1A310A #0A2E31 #210A31 #310E0A
split-complementary
#1A310A #0E0A31 #310A2E
monochromatic
#0D1905 #0D1905 #1A310A #356414 #50971F

Accessibility & contrast

On white

14.12
#1A310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1A310A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A310A
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A310A#FFFFFF#000000##FFFFFF
##1A310A1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C06
Deuteranopia (green-blind)
#302B0D
Tritanopia (blue-blind)
#1A2F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a310a;
/* rgb */ color: rgb(26, 49, 10);
/* oklch */ color: oklch(28.4% 0.069 134.9);
Tailwind
colors: {
  custom: {
    50: '#59694c',
    500: '#1a310a',
    950: '#000000',
  },
}
SCSS
$custom: #1a310a;
$custom-light: #59694c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a310a",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 95.385,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2841,
    "c": 0.06871,
    "h": 134.9
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#1A310A
secondary
#52296E
accent
#3FE9A3
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1A310A

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

Preview Lab → · Contrast checker → · Palette generator →

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