#1A2B02#1A2B02

#1A2B02 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.4% C 0.068 H 129.6°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#1A2B02
RGBrgb(26, 43, 2)
HSLhsl(85, 91%, 9%)
HSVhsv(85, 95%, 17%)
CMYKcmyk(39.5%, 0%, 95.3%, 83.1%)
CIE-LABlab(15.23, -15.02, 21.03)
CIE-LCHlch(15.23, 25.85, 125.53°)
OKLaboklab(26.42% -0.0431 0.0521)
OKLCHoklch(26.42% 0.068 129.6)
XYZxyz(1.3008, 1.9517, 0.3656)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B02 #13022B
analogous
#2B2802 #1A2B02 #062B02
triadic
#1A2B02 #021A2B #2B021A
tetradic
#1A2B02 #022B28 #13022B #2B0206
square
#1A2B02 #022B28 #13022B #2B0206
split-complementary
#1A2B02 #02062B #28022B
monochromatic
#121D01 #121D01 #1A2B02 #3D6505 #61A007

Accessibility & contrast

On white

15.10
#1A2B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1A2B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B02
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B02#FFFFFF#000000##FFFFFF
##1A2B021.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2B2605
Tritanopia (blue-blind)
#1B2923
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a2b02;
/* rgb */ color: rgb(26, 43, 2);
/* oklch */ color: oklch(26.4% 0.068 129.6);
Tailwind
colors: {
  custom: {
    50: '#586447',
    500: '#1a2b02',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b02;
$custom-light: #586447;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b02",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 84.878,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.2642,
    "c": 0.06755,
    "h": 129.6
  },
  "luminance": 0.01952
}

Semantic roles & 50–950 ramp

primary
#1A2B02
secondary
#3D1970
accent
#29FF82
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #1A2B02

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

Preview Lab → · Contrast checker → · Palette generator →

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