#1A4002#1A4002

#1A4002 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.0% C 0.097 H 136.7°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#1A4002
RGBrgb(26, 64, 2)
HSLhsl(97, 94%, 13%)
HSVhsv(97, 97%, 25%)
CMYKcmyk(59.4%, 0%, 96.9%, 74.9%)
CIE-LABlab(23.31, -25.43, 30.33)
CIE-LCHlch(23.31, 39.58, 129.97°)
OKLaboklab(33.05% -0.0709 0.0668)
OKLCHoklch(33.05% 0.097 136.7)
XYZxyz(2.2703, 3.8906, 0.6888)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4002 #280240
analogous
#394002 #1A4002 #024009
triadic
#1A4002 #021A40 #40021A
tetradic
#1A4002 #023940 #280240 #400902
square
#1A4002 #023940 #280240 #400902
split-complementary
#1A4002 #090240 #400239
monochromatic
#0C1E01 #0C1E01 #1A4002 #327B04 #4AB706

Accessibility & contrast

On white

11.81
#1A4002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1A4002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4002
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4002#FFFFFF#000000##FFFFFF
##1A40021.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433900
Deuteranopia (green-blind)
#3E3609
Tritanopia (blue-blind)
#183D35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a4002;
/* rgb */ color: rgb(26, 64, 2);
/* oklch */ color: oklch(33.0% 0.097 136.7);
Tailwind
colors: {
  custom: {
    50: '#5c7549',
    500: '#1a4002',
    950: '#000000',
  },
}
SCSS
$custom: #1a4002;
$custom-light: #5c7549;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4002",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 2
  },
  "hsl": {
    "h": 96.774,
    "s": 93.939,
    "l": 12.941
  },
  "oklch": {
    "l": 0.33046,
    "c": 0.09736,
    "h": 136.7
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#1A4002
secondary
#5B1B83
accent
#29FFAC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1A4002

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

Preview Lab → · Contrast checker → · Palette generator →

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