#1A2F04#1A2F04

#1A2F04 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.7% C 0.071 H 132.3°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#1A2F04
RGBrgb(26, 47, 4)
HSLhsl(89, 84%, 10%)
HSVhsv(89, 91%, 18%)
CMYKcmyk(44.7%, 0%, 91.5%, 81.6%)
CIE-LABlab(16.80, -16.98, 22.19)
CIE-LCHlch(16.80, 27.94, 127.42°)
OKLaboklab(27.71% -0.048 0.0528)
OKLCHoklch(27.71% 0.071 132.3)
XYZxyz(1.4644, 2.2613, 0.4742)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F04 #19042F
analogous
#2F2E04 #1A2F04 #052F04
triadic
#1A2F04 #041A2F #2F041A
tetradic
#1A2F04 #042F2E #19042F #2F0405
square
#1A2F04 #042F2E #19042F #2F0405
split-complementary
#1A2F04 #04052F #2E042F
monochromatic
#101C02 #101C02 #1A2F04 #396709 #58A00E

Accessibility & contrast

On white

14.46
#1A2F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1A2F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F04
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F04#FFFFFF#000000##FFFFFF
##1A2F041.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B00
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#1A2D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a2f04;
/* rgb */ color: rgb(26, 47, 4);
/* oklch */ color: oklch(27.7% 0.071 132.3);
Tailwind
colors: {
  custom: {
    50: '#586749',
    500: '#1a2f04',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f04;
$custom-light: #586749;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f04",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 89.302,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.2771,
    "c": 0.07139,
    "h": 132.3
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#1A2F04
secondary
#461D72
accent
#2DFB92
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030601
muted
#787A77

Preview Lab

Preview with #1A2F04

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

Preview Lab → · Contrast checker → · Palette generator →

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