#1A3103#1A3103

#1A3103 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.3% C 0.075 H 132.8°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#1A3103
RGBrgb(26, 49, 3)
HSLhsl(90, 88%, 10%)
HSVhsv(90, 94%, 19%)
CMYKcmyk(46.9%, 0%, 93.9%, 80.8%)
CIE-LABlab(17.57, -18.14, 23.53)
CIE-LCHlch(17.57, 29.71, 127.63°)
OKLaboklab(28.33% -0.0513 0.0553)
OKLCHoklch(28.33% 0.075 132.8)
XYZxyz(1.5407, 2.4227, 0.4726)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3103 #1A0331
analogous
#313103 #1A3103 #033103
triadic
#1A3103 #031A31 #31031A
tetradic
#1A3103 #033131 #1A0331 #310303
square
#1A3103 #033131 #1A0331 #310303
split-complementary
#1A3103 #030331 #310331
monochromatic
#0F1D02 #0F1D02 #1A3103 #396B07 #57A40A

Accessibility & contrast

On white

14.15
#1A3103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1A3103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3103
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3103#FFFFFF#000000##FFFFFF
##1A31031.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#302A07
Tritanopia (blue-blind)
#1A2F28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a3103;
/* rgb */ color: rgb(26, 49, 3);
/* oklch */ color: oklch(28.3% 0.075 132.8);
Tailwind
colors: {
  custom: {
    50: '#596948',
    500: '#1a3103',
    950: '#000000',
  },
}
SCSS
$custom: #1a3103;
$custom-light: #596948;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3103",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 90,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2833,
    "c": 0.07544,
    "h": 132.8
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#1A3103
secondary
#481B74
accent
#29FF94
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #1A3103

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

Preview Lab → · Contrast checker → · Palette generator →

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