#1A310E#1A310E

#1A310E is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.065 H 136.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#1A310E
RGBrgb(26, 49, 14)
HSLhsl(99, 56%, 12%)
HSVhsv(99, 71%, 19%)
CMYKcmyk(46.9%, 0%, 71.4%, 80.8%)
CIE-LABlab(17.68, -16.94, 18.99)
CIE-LCHlch(17.68, 25.45, 131.73°)
OKLaboklab(28.46% -0.0468 0.0447)
OKLCHoklch(28.46% 0.065 136.3)
XYZxyz(1.6035, 2.4479, 0.8034)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A310E #250E31
analogous
#2C310E #1A310E #0E3114
triadic
#1A310E #0E1A31 #310E1A
tetradic
#1A310E #0E2C31 #250E31 #31140E
square
#1A310E #0E2C31 #250E31 #31140E
split-complementary
#1A310E #140E31 #310E2C
monochromatic
#0D1807 #0D1807 #1A310E #33611C #4D9029

Accessibility & contrast

On white

14.10
#1A310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A310E
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A310E#FFFFFF#000000##FFFFFF
##1A310E1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0A
Deuteranopia (green-blind)
#302B11
Tritanopia (blue-blind)
#192F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a310e;
/* rgb */ color: rgb(26, 49, 14);
/* oklch */ color: oklch(28.5% 0.065 136.3);
Tailwind
colors: {
  custom: {
    50: '#58694e',
    500: '#1a310e',
    950: '#000000',
  },
}
SCSS
$custom: #1a310e;
$custom-light: #58694e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a310e",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 99.429,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28462,
    "c": 0.06478,
    "h": 136.3
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#1A310E
secondary
#572F6C
accent
#49DFAB
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1A310E

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

Preview Lab → · Contrast checker → · Palette generator →

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