#1A3102#1A3102

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

Color values

HEX#1A3102
RGBrgb(26, 49, 2)
HSLhsl(89, 92%, 10%)
HSVhsv(89, 96%, 19%)
CMYKcmyk(46.9%, 0%, 95.9%, 80.8%)
CIE-LABlab(17.56, -18.24, 23.92)
CIE-LCHlch(17.56, 30.08, 127.33°)
OKLaboklab(28.32% -0.0517 0.0563)
OKLCHoklch(28.32% 0.076 132.6)
XYZxyz(1.5353, 2.4205, 0.4437)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3102 #190231
analogous
#313102 #1A3102 #023102
triadic
#1A3102 #021A31 #31021A
tetradic
#1A3102 #023131 #190231 #310202
square
#1A3102 #023131 #190231 #310202
split-complementary
#1A3102 #020231 #310231
monochromatic
#101D01 #101D01 #1A3102 #396C04 #58A707

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A3102#FFFFFF#000000##FFFFFF
##1A31021.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)
#342C00
Deuteranopia (green-blind)
#302A06
Tritanopia (blue-blind)
#1A2E28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a3102;
/* rgb */ color: rgb(26, 49, 2);
/* oklch */ color: oklch(28.3% 0.076 132.6);
Tailwind
colors: {
  custom: {
    50: '#596948',
    500: '#1a3102',
    950: '#000000',
  },
}
SCSS
$custom: #1a3102;
$custom-light: #596948;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3102",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 89.362,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.28319,
    "c": 0.07647,
    "h": 132.6
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#1A3102
secondary
#461975
accent
#29FF92
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1A3102

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

Preview Lab → · Contrast checker → · Palette generator →

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