#1E2801#1E2801

#1E2801 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.8% C 0.062 H 123.0°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#1E2801
RGBrgb(30, 40, 1)
HSLhsl(75, 95%, 8%)
HSVhsv(75, 98%, 16%)
CMYKcmyk(25%, 0%, 97.5%, 84.3%)
CIE-LABlab(14.38, -11.37, 20.40)
CIE-LCHlch(14.38, 23.35, 119.14°)
OKLaboklab(25.8% -0.0337 0.0518)
OKLCHoklch(25.8% 0.062 123)
XYZxyz(1.2997, 1.7958, 0.3069)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2801 #0B0128
analogous
#281E01 #1E2801 #0A2801
triadic
#1E2801 #011E28 #28011E
tetradic
#1E2801 #01281E #0B0128 #28010A
square
#1E2801 #01281E #0B0128 #28010A
split-complementary
#1E2801 #010A28 #1E0128
monochromatic
#161E01 #161E01 #1E2801 #4B6402 #789F04

Accessibility & contrast

On white

15.45
#1E2801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1E2801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2801
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2801#FFFFFF#000000##FFFFFF
##1E28011.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2A2403
Tritanopia (blue-blind)
#202521
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e2801;
/* rgb */ color: rgb(30, 40, 1);
/* oklch */ color: oklch(25.8% 0.062 123.0);
Tailwind
colors: {
  custom: {
    50: '#5a6247',
    500: '#1e2801',
    950: '#000000',
  },
}
SCSS
$custom: #1e2801;
$custom-light: #5a6247;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2801",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 75.385,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.25802,
    "c": 0.0618,
    "h": 123
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#1E2801
secondary
#2D166F
accent
#29FF60
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #1E2801

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

Preview Lab → · Contrast checker → · Palette generator →

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