#1D310F#1D310F

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

Color values

HEX#1D310F
RGBrgb(29, 49, 15)
HSLhsl(95, 53%, 13%)
HSVhsv(95, 69%, 19%)
CMYKcmyk(40.8%, 0%, 69.4%, 80.8%)
CIE-LABlab(17.88, -15.52, 18.76)
CIE-LCHlch(17.88, 24.35, 129.59°)
OKLaboklab(28.68% -0.0431 0.0442)
OKLCHoklch(28.68% 0.062 134.3)
XYZxyz(1.6912, 2.4923, 0.8438)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D310F #230F31
analogous
#2E310F #1D310F #0F3112
triadic
#1D310F #0F1D31 #310F1D
tetradic
#1D310F #0F2E31 #230F31 #31120F
square
#1D310F #0F2E31 #230F31 #31120F
split-complementary
#1D310F #120F31 #310F2E
monochromatic
#0E1707 #0E1707 #1D310F #39601D #548F2C

Accessibility & contrast

On white

14.01
#1D310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D310F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D310F#FFFFFF#000000##FFFFFF
##1D310F1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d310f;
/* rgb */ color: rgb(29, 49, 15);
/* oklch */ color: oklch(28.7% 0.062 134.3);
Tailwind
colors: {
  custom: {
    50: '#5a694e',
    500: '#1d310f',
    950: '#000000',
  },
}
SCSS
$custom: #1d310f;
$custom-light: #5a694e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d310f",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 95.294,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28682,
    "c": 0.06171,
    "h": 134.3
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#1D310F
secondary
#53316B
accent
#4BDDA1
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #1D310F

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

Preview Lab → · Contrast checker → · Palette generator →

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