#1D310E#1D310E

#1D310E is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.7% C 0.063 H 133.9°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#1D310E
RGBrgb(29, 49, 14)
HSLhsl(94, 56%, 12%)
HSVhsv(94, 71%, 19%)
CMYKcmyk(40.8%, 0%, 71.4%, 80.8%)
CIE-LABlab(17.87, -15.64, 19.27)
CIE-LCHlch(17.87, 24.82, 129.07°)
OKLaboklab(28.67% -0.0435 0.0453)
OKLCHoklch(28.67% 0.063 133.9)
XYZxyz(1.6842, 2.4895, 0.8072)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D310E #220E31
analogous
#2F310E #1D310E #0E3111
triadic
#1D310E #0E1D31 #310E1D
tetradic
#1D310E #0E2F31 #220E31 #31110E
square
#1D310E #0E2F31 #220E31 #31110E
split-complementary
#1D310E #110E31 #310E2F
monochromatic
#0E1807 #0E1807 #1D310E #39611C #559029

Accessibility & contrast

On white

14.02
#1D310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1D310E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D310E
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D310E#FFFFFF#000000##FFFFFF
##1D310E1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0A
Deuteranopia (green-blind)
#302B11
Tritanopia (blue-blind)
#1D2F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d310e;
/* rgb */ color: rgb(29, 49, 14);
/* oklch */ color: oklch(28.7% 0.063 133.9);
Tailwind
colors: {
  custom: {
    50: '#5a694e',
    500: '#1d310e',
    950: '#000000',
  },
}
SCSS
$custom: #1d310e;
$custom-light: #5a694e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d310e",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 94.286,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28667,
    "c": 0.0628,
    "h": 133.9
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#1D310E
secondary
#522F6C
accent
#49DF9F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1D310E

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

Preview Lab → · Contrast checker → · Palette generator →

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