#1A2C07#1A2C07

#1A2C07 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.063 H 131.8°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#1A2C07
RGBrgb(26, 44, 7)
HSLhsl(89, 73%, 10%)
HSVhsv(89, 84%, 17%)
CMYKcmyk(40.9%, 0%, 84.1%, 82.7%)
CIE-LABlab(15.68, -15.00, 19.56)
CIE-LCHlch(15.68, 24.65, 127.49°)
OKLaboklab(26.8% -0.0423 0.0474)
OKLCHoklch(26.8% 0.063 131.8)
XYZxyz(1.3650, 2.0363, 0.5221)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C07 #19072C
analogous
#2C2B07 #1A2C07 #082C07
triadic
#1A2C07 #071A2C #2C071A
tetradic
#1A2C07 #072C2B #19072C #2C0708
square
#1A2C07 #072C2B #19072C #2C0708
split-complementary
#1A2C07 #07082C #2B072C
monochromatic
#101A04 #101A04 #1A2C07 #39610F #589618

Accessibility & contrast

On white

14.92
#1A2C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1A2C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C07
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C07#FFFFFF#000000##FFFFFF
##1A2C071.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2803
Deuteranopia (green-blind)
#2C270A
Tritanopia (blue-blind)
#1B2A25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a2c07;
/* rgb */ color: rgb(26, 44, 7);
/* oklch */ color: oklch(26.8% 0.063 131.8);
Tailwind
colors: {
  custom: {
    50: '#58654a',
    500: '#1a2c07',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c07;
$custom-light: #58654a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c07",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 89.189,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.26801,
    "c": 0.06347,
    "h": 131.8
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#1A2C07
secondary
#46236C
accent
#39EF91
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #1A2C07

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

Preview Lab → · Contrast checker → · Palette generator →

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