#1A2A07#1A2A07

#1A2A07 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.060 H 130.6°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#1A2A07
RGBrgb(26, 42, 7)
HSLhsl(87, 71%, 10%)
HSVhsv(87, 83%, 16%)
CMYKcmyk(38.1%, 0%, 83.3%, 83.5%)
CIE-LABlab(14.90, -13.87, 18.57)
CIE-LCHlch(14.90, 23.18, 126.74°)
OKLaboklab(26.17% -0.0392 0.0457)
OKLCHoklch(26.17% 0.06 130.6)
XYZxyz(1.2923, 1.8908, 0.4979)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A07 #17072A
analogous
#2A2907 #1A2A07 #082A07
triadic
#1A2A07 #071A2A #2A071A
tetradic
#1A2A07 #072A29 #17072A #2A0708
square
#1A2A07 #072A29 #17072A #2A0708
split-complementary
#1A2A07 #07082A #29072A
monochromatic
#101A04 #101A04 #1A2A07 #3A5E10 #5B9318

Accessibility & contrast

On white

15.24
#1A2A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1A2A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A07
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A07#FFFFFF#000000##FFFFFF
##1A2A071.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2604
Deuteranopia (green-blind)
#2A250A
Tritanopia (blue-blind)
#1B2823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a2a07;
/* rgb */ color: rgb(26, 42, 7);
/* oklch */ color: oklch(26.2% 0.060 130.6);
Tailwind
colors: {
  custom: {
    50: '#57634a',
    500: '#1a2a07',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a07;
$custom-light: #57634a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a07",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 87.429,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26171,
    "c": 0.06016,
    "h": 130.6
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#1A2A07
secondary
#43236A
accent
#3AEE8C
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #1A2A07

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

Preview Lab → · Contrast checker → · Palette generator →

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