#1A2502#1A2502

#1A2502 is a very dark, muted yellow-green. Relative luminance 0.015; OKLCH L 24.5% C 0.058 H 125.2°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#1A2502
RGBrgb(26, 37, 2)
HSLhsl(79, 90%, 8%)
HSVhsv(79, 95%, 15%)
CMYKcmyk(29.7%, 0%, 94.6%, 85.5%)
CIE-LABlab(12.90, -11.54, 17.98)
CIE-LCHlch(12.90, 21.37, 122.69°)
OKLaboklab(24.53% -0.0337 0.0477)
OKLCHoklch(24.53% 0.058 125.2)
XYZxyz(1.0985, 1.5471, 0.2982)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2502 #0D0225
analogous
#251E02 #1A2502 #082502
triadic
#1A2502 #021A25 #25021A
tetradic
#1A2502 #02251E #0D0225 #250208
square
#1A2502 #02251E #0D0225 #250208
split-complementary
#1A2502 #020825 #1E0225
monochromatic
#141D02 #141D02 #1A2502 #435F05 #6C9908

Accessibility & contrast

On white

16.04
#1A2502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1A2502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2502
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2502#FFFFFF#000000##FFFFFF
##1A25021.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#262104
Tritanopia (blue-blind)
#1C231E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1a2502;
/* rgb */ color: rgb(26, 37, 2);
/* oklch */ color: oklch(24.5% 0.058 125.2);
Tailwind
colors: {
  custom: {
    50: '#575f47',
    500: '#1a2502',
    950: '#000000',
  },
}
SCSS
$custom: #1a2502;
$custom-light: #575f47;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2502",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 78.857,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.24527,
    "c": 0.05839,
    "h": 125.2
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#1A2502
secondary
#32186A
accent
#29FF6C
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1A2502

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

Preview Lab → · Contrast checker → · Palette generator →

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