#1A3D07#1A3D07

#1A3D07 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.1% C 0.089 H 137.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1A3D07
RGBrgb(26, 61, 7)
HSLhsl(99, 79%, 13%)
HSVhsv(99, 89%, 24%)
CMYKcmyk(57.4%, 0%, 88.5%, 76.1%)
CIE-LABlab(22.20, -23.64, 27.15)
CIE-LCHlch(22.20, 36.00, 131.04°)
OKLaboklab(32.15% -0.0656 0.0609)
OKLCHoklch(32.15% 0.089 137.2)
XYZxyz(2.1330, 3.5723, 0.7781)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D07 #2A073D
analogous
#353D07 #1A3D07 #073D0F
triadic
#1A3D07 #071A3D #3D071A
tetradic
#1A3D07 #07353D #2A073D #3D0F07
square
#1A3D07 #07353D #2A073D #3D0F07
split-complementary
#1A3D07 #0F073D #3D0735
monochromatic
#0C1B03 #0C1B03 #1A3D07 #31740D #49AB14

Accessibility & contrast

On white

12.25
#1A3D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A3D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D07
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D07#FFFFFF#000000##FFFFFF
##1A3D071.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3B340D
Tritanopia (blue-blind)
#183A33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a3d07;
/* rgb */ color: rgb(26, 61, 7);
/* oklch */ color: oklch(32.1% 0.089 137.2);
Tailwind
colors: {
  custom: {
    50: '#5b734b',
    500: '#1a3d07',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d07;
$custom-light: #5b734b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d07",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 98.889,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3215,
    "c": 0.08949,
    "h": 137.2
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#1A3D07
secondary
#5D237C
accent
#32F6B1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1A3D07

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

Preview Lab → · Contrast checker → · Palette generator →

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