#1A2F06#1A2F06

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

Color values

HEX#1A2F06
RGBrgb(26, 47, 6)
HSLhsl(91, 77%, 10%)
HSVhsv(91, 87%, 18%)
CMYKcmyk(44.7%, 0%, 87.2%, 81.6%)
CIE-LABlab(16.82, -16.76, 21.40)
CIE-LCHlch(16.82, 27.18, 128.06°)
OKLaboklab(27.73% -0.0472 0.0508)
OKLCHoklch(27.73% 0.069 132.9)
XYZxyz(1.4754, 2.2657, 0.5319)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F06 #1B062F
analogous
#2E2F06 #1A2F06 #062F07
triadic
#1A2F06 #061A2F #2F061A
tetradic
#1A2F06 #062E2F #1B062F #2F0706
square
#1A2F06 #062E2F #1B062F #2F0706
split-complementary
#1A2F06 #07062F #2F062E
monochromatic
#0F1B03 #0F1B03 #1A2F06 #38650D #569C14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A2F06#FFFFFF#000000##FFFFFF
##1A2F061.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)
#312B02
Deuteranopia (green-blind)
#2E2909
Tritanopia (blue-blind)
#1A2D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a2f06;
/* rgb */ color: rgb(26, 47, 6);
/* oklch */ color: oklch(27.7% 0.069 132.9);
Tailwind
colors: {
  custom: {
    50: '#58674a',
    500: '#1a2f06',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f06;
$custom-light: #58674a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f06",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 90.732,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27734,
    "c": 0.06934,
    "h": 132.9
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#1A2F06
secondary
#492170
accent
#34F496
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1A2F06

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

Preview Lab → · Contrast checker → · Palette generator →

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