#1A2B07#1A2B07

#1A2B07 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.5% C 0.062 H 131.2°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#1A2B07
RGBrgb(26, 43, 7)
HSLhsl(88, 72%, 10%)
HSVhsv(88, 84%, 17%)
CMYKcmyk(39.5%, 0%, 83.7%, 83.1%)
CIE-LABlab(15.29, -14.44, 19.07)
CIE-LCHlch(15.29, 23.92, 127.13°)
OKLaboklab(26.49% -0.0407 0.0465)
OKLCHoklch(26.49% 0.062 131.2)
XYZxyz(1.3282, 1.9627, 0.5098)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B07 #18072B
analogous
#2B2A07 #1A2B07 #082B07
triadic
#1A2B07 #071A2B #2B071A
tetradic
#1A2B07 #072B2A #18072B #2B0708
square
#1A2B07 #072B2A #18072B #2B0708
split-complementary
#1A2B07 #07082B #2A072B
monochromatic
#101A04 #101A04 #1A2B07 #3A6010 #5A9418

Accessibility & contrast

On white

15.08
#1A2B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1A2B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B07
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B07#FFFFFF#000000##FFFFFF
##1A2B071.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2703
Deuteranopia (green-blind)
#2B260A
Tritanopia (blue-blind)
#1B2924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a2b07;
/* rgb */ color: rgb(26, 43, 7);
/* oklch */ color: oklch(26.5% 0.062 131.2);
Tailwind
colors: {
  custom: {
    50: '#58644a',
    500: '#1a2b07',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b07;
$custom-light: #58644a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b07",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 88.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26486,
    "c": 0.06182,
    "h": 131.2
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#1A2B07
secondary
#45236B
accent
#39EF8F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #1A2B07

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

Preview Lab → · Contrast checker → · Palette generator →

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