#1A3F03#1A3F03

#1A3F03 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 32.7% C 0.095 H 136.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#1A3F03
RGBrgb(26, 63, 3)
HSLhsl(97, 91%, 13%)
HSVhsv(97, 95%, 25%)
CMYKcmyk(58.7%, 0%, 95.2%, 75.3%)
CIE-LABlab(22.93, -24.90, 29.54)
CIE-LCHlch(22.93, 38.63, 130.12°)
OKLaboklab(32.74% -0.0694 0.0653)
OKLCHoklch(32.74% 0.095 136.7)
XYZxyz(2.2199, 3.7810, 0.6990)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F03 #28033F
analogous
#383F03 #1A3F03 #033F0A
triadic
#1A3F03 #031A3F #3F031A
tetradic
#1A3F03 #03383F #28033F #3F0A03
square
#1A3F03 #03383F #28033F #3F0A03
split-complementary
#1A3F03 #0A033F #3F0338
monochromatic
#0C1D01 #0C1D01 #1A3F03 #327906 #4AB409

Accessibility & contrast

On white

11.96
#1A3F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1A3F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F03
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F03#FFFFFF#000000##FFFFFF
##1A3F031.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#183C34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a3f03;
/* rgb */ color: rgb(26, 63, 3);
/* oklch */ color: oklch(32.7% 0.095 136.7);
Tailwind
colors: {
  custom: {
    50: '#5c744a',
    500: '#1a3f03',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f03;
$custom-light: #5c744a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f03",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 3
  },
  "hsl": {
    "h": 97,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32741,
    "c": 0.09527,
    "h": 136.7
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#1A3F03
secondary
#5B1D81
accent
#29FFAD
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1A3F03

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

Preview Lab → · Contrast checker → · Palette generator →

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