#1A2F0A#1A2F0A

#1A2F0A is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.8% C 0.065 H 134.1°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1A2F0A
RGBrgb(26, 47, 10)
HSLhsl(94, 65%, 11%)
HSVhsv(94, 79%, 18%)
CMYKcmyk(44.7%, 0%, 78.7%, 81.6%)
CIE-LABlab(16.87, -16.32, 19.82)
CIE-LCHlch(16.87, 25.68, 129.47°)
OKLaboklab(27.78% -0.0455 0.047)
OKLCHoklch(27.78% 0.065 134.1)
XYZxyz(1.4973, 2.2745, 0.6472)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F0A #1F0A2F
analogous
#2C2F0A #1A2F0A #0A2F0C
triadic
#1A2F0A #0A1A2F #2F0A1A
tetradic
#1A2F0A #0A2C2F #1F0A2F #2F0C0A
square
#1A2F0A #0A2C2F #1F0A2F #2F0C0A
split-complementary
#1A2F0A #0C0A2F #2F0A2C
monochromatic
#0E1905 #0E1905 #1A2F0A #366115 #52941F

Accessibility & contrast

On white

14.43
#1A2F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1A2F0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F0A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F0A#FFFFFF#000000##FFFFFF
##1A2F0A1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B06
Deuteranopia (green-blind)
#2E290D
Tritanopia (blue-blind)
#1A2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a2f0a;
/* rgb */ color: rgb(26, 47, 10);
/* oklch */ color: oklch(27.8% 0.065 134.1);
Tailwind
colors: {
  custom: {
    50: '#58674b',
    500: '#1a2f0a',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f0a;
$custom-light: #58674b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f0a",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 94.054,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27782,
    "c": 0.06541,
    "h": 134.1
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#1A2F0A
secondary
#4F296C
accent
#40E89F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1A2F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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