#1A3902#1A3902

#1A3902 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 30.8% C 0.088 H 135.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#1A3902
RGBrgb(26, 57, 2)
HSLhsl(94, 93%, 12%)
HSVhsv(94, 96%, 22%)
CMYKcmyk(54.4%, 0%, 96.5%, 77.6%)
CIE-LABlab(20.64, -22.21, 27.49)
CIE-LCHlch(20.64, 35.34, 128.94°)
OKLaboklab(30.85% -0.0623 0.0619)
OKLCHoklch(30.85% 0.088 135.2)
XYZxyz(1.9000, 3.1501, 0.5653)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3902 #210239
analogous
#363902 #1A3902 #023906
triadic
#1A3902 #021A39 #39021A
tetradic
#1A3902 #023639 #210239 #390602
square
#1A3902 #023639 #210239 #390602
split-complementary
#1A3902 #060239 #390236
monochromatic
#0D1E01 #0D1E01 #1A3902 #357404 #50AF06

Accessibility & contrast

On white

12.88
#1A3902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A3902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3902
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3902#FFFFFF#000000##FFFFFF
##1A39021.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3300
Deuteranopia (green-blind)
#373107
Tritanopia (blue-blind)
#19362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a3902;
/* rgb */ color: rgb(26, 57, 2);
/* oklch */ color: oklch(30.8% 0.088 135.2);
Tailwind
colors: {
  custom: {
    50: '#5a7048',
    500: '#1a3902',
    950: '#000000',
  },
}
SCSS
$custom: #1a3902;
$custom-light: #5a7048;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3902",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 93.818,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30846,
    "c": 0.08786,
    "h": 135.2
  },
  "luminance": 0.0315
}

Semantic roles & 50–950 ramp

primary
#1A3902
secondary
#521A7D
accent
#29FFA2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1A3902

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

Preview Lab → · Contrast checker → · Palette generator →

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