#1A3B06#1A3B06

#1A3B06 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.5% C 0.087 H 136.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#1A3B06
RGBrgb(26, 59, 6)
HSLhsl(97, 82%, 13%)
HSVhsv(97, 90%, 23%)
CMYKcmyk(55.9%, 0%, 89.8%, 76.9%)
CIE-LABlab(21.43, -22.79, 26.74)
CIE-LCHlch(21.43, 35.13, 130.44°)
OKLaboklab(31.51% -0.0634 0.0601)
OKLCHoklch(31.51% 0.087 136.5)
XYZxyz(2.0228, 3.3606, 0.7143)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3B06 #27063B
analogous
#343B06 #1A3B06 #063B0C
triadic
#1A3B06 #061A3B #3B061A
tetradic
#1A3B06 #06343B #27063B #3B0C06
square
#1A3B06 #06343B #27063B #3B0C06
split-complementary
#1A3B06 #0C063B #3B0634
monochromatic
#0C1C03 #0C1C03 #1A3B06 #32730C #4BAA11

Accessibility & contrast

On white

12.56
#1A3B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A3B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3B06
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3B06#FFFFFF#000000##FFFFFF
##1A3B061.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#39320C
Tritanopia (blue-blind)
#183831
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a3b06;
/* rgb */ color: rgb(26, 59, 6);
/* oklch */ color: oklch(31.5% 0.087 136.5);
Tailwind
colors: {
  custom: {
    50: '#5b714b',
    500: '#1a3b06',
    950: '#000000',
  },
}
SCSS
$custom: #1a3b06;
$custom-light: #5b714b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3b06",
  "rgb": {
    "r": 26,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 97.358,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31513,
    "c": 0.08739,
    "h": 136.5
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#1A3B06
secondary
#59227B
accent
#30F8AC
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1A3B06

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

Preview Lab → · Contrast checker → · Palette generator →

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