#1A2F05#1A2F05

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

Color values

HEX#1A2F05
RGBrgb(26, 47, 5)
HSLhsl(90, 81%, 10%)
HSVhsv(90, 89%, 18%)
CMYKcmyk(44.7%, 0%, 89.4%, 81.6%)
CIE-LABlab(16.81, -16.87, 21.79)
CIE-LCHlch(16.81, 27.56, 127.73°)
OKLaboklab(27.72% -0.0476 0.0518)
OKLCHoklch(27.72% 0.07 132.6)
XYZxyz(1.4699, 2.2635, 0.5030)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F05 #1A052F
analogous
#2F2F05 #1A2F05 #052F05
triadic
#1A2F05 #051A2F #2F051A
tetradic
#1A2F05 #052F2F #1A052F #2F0505
square
#1A2F05 #052F2F #1A052F #2F0505
split-complementary
#1A2F05 #05052F #2F052F
monochromatic
#0F1C03 #0F1C03 #1A2F05 #39660B #579E11

Accessibility & contrast

On white

14.45
#1A2F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2F05
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F05#FFFFFF#000000##FFFFFF
##1A2F051.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2f05;
/* rgb */ color: rgb(26, 47, 5);
/* oklch */ color: oklch(27.7% 0.070 132.6);
Tailwind
colors: {
  custom: {
    50: '#586749',
    500: '#1a2f05',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f05;
$custom-light: #586749;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f05",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 90,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27722,
    "c": 0.07036,
    "h": 132.6
  },
  "luminance": 0.02264
}

Semantic roles & 50–950 ramp

primary
#1A2F05
secondary
#481F71
accent
#31F794
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1A2F05

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

Preview Lab → · Contrast checker → · Palette generator →

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