#1A2F09#1A2F09

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

Color values

HEX#1A2F09
RGBrgb(26, 47, 9)
HSLhsl(93, 68%, 11%)
HSVhsv(93, 81%, 18%)
CMYKcmyk(44.7%, 0%, 80.9%, 81.6%)
CIE-LABlab(16.86, -16.43, 20.22)
CIE-LCHlch(16.86, 26.05, 129.11°)
OKLaboklab(27.77% -0.0459 0.0479)
OKLCHoklch(27.77% 0.066 133.8)
XYZxyz(1.4918, 2.2723, 0.6184)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F09 #1E092F
analogous
#2D2F09 #1A2F09 #092F0B
triadic
#1A2F09 #091A2F #2F091A
tetradic
#1A2F09 #092D2F #1E092F #2F0B09
square
#1A2F09 #092D2F #1E092F #2F0B09
split-complementary
#1A2F09 #0B092F #2F092D
monochromatic
#0E1A05 #0E1A05 #1A2F09 #366213 #53961D

Accessibility & contrast

On white

14.44
#1A2F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2F09
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F09#FFFFFF#000000##FFFFFF
##1A2F091.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2f09;
/* rgb */ color: rgb(26, 47, 9);
/* oklch */ color: oklch(27.8% 0.066 133.8);
Tailwind
colors: {
  custom: {
    50: '#58674b',
    500: '#1a2f09',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f09;
$custom-light: #58674b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f09",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 93.158,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2777,
    "c": 0.06636,
    "h": 133.8
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#1A2F09
secondary
#4E276D
accent
#3DEB9D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1A2F09

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

Preview Lab → · Contrast checker → · Palette generator →

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