#1D3102#1D3102

#1D3102 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.5% C 0.075 H 130.4°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#1D3102
RGBrgb(29, 49, 2)
HSLhsl(86, 92%, 10%)
HSVhsv(86, 96%, 19%)
CMYKcmyk(40.8%, 0%, 95.9%, 80.8%)
CIE-LABlab(17.75, -16.89, 24.20)
CIE-LCHlch(17.75, 29.51, 124.92°)
OKLaboklab(28.53% -0.0483 0.0567)
OKLCHoklch(28.53% 0.075 130.4)
XYZxyz(1.6160, 2.4622, 0.4475)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3102 #160231
analogous
#312E02 #1D3102 #053102
triadic
#1D3102 #021D31 #31021D
tetradic
#1D3102 #02312E #160231 #310205
square
#1D3102 #02312E #160231 #310205
split-complementary
#1D3102 #020531 #2E0231
monochromatic
#111D01 #111D01 #1D3102 #406C04 #63A707

Accessibility & contrast

On white

14.07
#1D3102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3102
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3102#FFFFFF#000000##FFFFFF
##1D31021.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342C00
Deuteranopia (green-blind)
#312B06
Tritanopia (blue-blind)
#1E2E28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d3102;
/* rgb */ color: rgb(29, 49, 2);
/* oklch */ color: oklch(28.5% 0.075 130.4);
Tailwind
colors: {
  custom: {
    50: '#5b6948',
    500: '#1d3102',
    950: '#000000',
  },
}
SCSS
$custom: #1d3102;
$custom-light: #5b6948;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3102",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 85.532,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.28526,
    "c": 0.07452,
    "h": 130.4
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#1D3102
secondary
#411975
accent
#29FF84
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1D3102

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

Preview Lab → · Contrast checker → · Palette generator →

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