#1E2701#1E2701

#1E2701 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.5% C 0.060 H 122.1°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#1E2701
RGBrgb(30, 39, 1)
HSLhsl(74, 95%, 8%)
HSVhsv(74, 97%, 15%)
CMYKcmyk(23.1%, 0%, 97.4%, 84.7%)
CIE-LABlab(14.00, -10.76, 19.90)
CIE-LCHlch(14.00, 22.62, 118.40°)
OKLaboklab(25.5% -0.032 0.0511)
OKLCHoklch(25.5% 0.06 122.1)
XYZxyz(1.2664, 1.7292, 0.2958)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2701 #0A0127
analogous
#271D01 #1E2701 #0B2701
triadic
#1E2701 #011E27 #27011E
tetradic
#1E2701 #01271D #0A0127 #27010B
square
#1E2701 #01271D #0A0127 #27010B
split-complementary
#1E2701 #010B27 #1D0127
monochromatic
#171E01 #171E01 #1E2701 #4C6303 #7A9E04

Accessibility & contrast

On white

15.60
#1E2701 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1E2701 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2701
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2701#FFFFFF#000000##FFFFFF
##1E27011.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#292403
Tritanopia (blue-blind)
#202420
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e2701;
/* rgb */ color: rgb(30, 39, 1);
/* oklch */ color: oklch(25.5% 0.060 122.1);
Tailwind
colors: {
  custom: {
    50: '#5a6147',
    500: '#1e2701',
    950: '#000000',
  },
}
SCSS
$custom: #1e2701;
$custom-light: #5a6147;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2701",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 1
  },
  "hsl": {
    "h": 74.211,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.25495,
    "c": 0.06034,
    "h": 122.1
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#1E2701
secondary
#2B166E
accent
#29FF5C
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040500
muted
#797977

Preview Lab

Preview with #1E2701

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

Preview Lab → · Contrast checker → · Palette generator →

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