#1A3002#1A3002

#1A3002 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.075 H 132.1°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#1A3002
RGBrgb(26, 48, 2)
HSLhsl(89, 92%, 10%)
HSVhsv(89, 96%, 19%)
CMYKcmyk(45.8%, 0%, 95.8%, 81.2%)
CIE-LABlab(17.17, -17.72, 23.45)
CIE-LCHlch(17.17, 29.39, 127.08°)
OKLaboklab(28% -0.0503 0.0556)
OKLCHoklch(28% 0.075 132.1)
XYZxyz(1.4939, 2.3378, 0.4300)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3002 #180230
analogous
#302F02 #1A3002 #033002
triadic
#1A3002 #021A30 #30021A
tetradic
#1A3002 #02302F #180230 #300203
square
#1A3002 #02302F #180230 #300203
split-complementary
#1A3002 #020330 #2F0230
monochromatic
#101D01 #101D01 #1A3002 #3A6B04 #5AA607

Accessibility & contrast

On white

14.31
#1A3002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1A3002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3002
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3002#FFFFFF#000000##FFFFFF
##1A30021.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332B00
Deuteranopia (green-blind)
#302A06
Tritanopia (blue-blind)
#1A2E27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a3002;
/* rgb */ color: rgb(26, 48, 2);
/* oklch */ color: oklch(28.0% 0.075 132.1);
Tailwind
colors: {
  custom: {
    50: '#596848',
    500: '#1a3002',
    950: '#000000',
  },
}
SCSS
$custom: #1a3002;
$custom-light: #596848;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3002",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 2
  },
  "hsl": {
    "h": 88.696,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28002,
    "c": 0.075,
    "h": 132.1
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#1A3002
secondary
#451975
accent
#29FF8F
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #1A3002

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

Preview Lab → · Contrast checker → · Palette generator →

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