#1E2C01#1E2C01

#1E2C01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.0% C 0.068 H 126.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#1E2C01
RGBrgb(30, 44, 1)
HSLhsl(80, 96%, 9%)
HSVhsv(80, 98%, 17%)
CMYKcmyk(31.8%, 0%, 97.7%, 82.7%)
CIE-LABlab(15.90, -13.73, 22.35)
CIE-LCHlch(15.90, 26.23, 121.57°)
OKLaboklab(27.04% -0.0401 0.0545)
OKLCHoklch(27.04% 0.068 126.3)
XYZxyz(1.4416, 2.0795, 0.3542)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C01 #0F012C
analogous
#2C2501 #1E2C01 #092C01
triadic
#1E2C01 #011E2C #2C011E
tetradic
#1E2C01 #012C25 #0F012C #2C0109
square
#1E2C01 #012C25 #0F012C #2C0109
split-complementary
#1E2C01 #01092C #25012C
monochromatic
#141E01 #141E01 #1E2C01 #476802 #70A404

Accessibility & contrast

On white

14.83
#1E2C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E2C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2C01
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C01#FFFFFF#000000##FFFFFF
##1E2C011.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2D2704
Tritanopia (blue-blind)
#202924
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e2c01;
/* rgb */ color: rgb(30, 44, 1);
/* oklch */ color: oklch(27.0% 0.068 126.3);
Tailwind
colors: {
  custom: {
    50: '#5b6547',
    500: '#1e2c01',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c01;
$custom-light: #5b6547;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c01",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 79.535,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27037,
    "c": 0.06766,
    "h": 126.3
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#1E2C01
secondary
#341772
accent
#29FF6F
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #1E2C01

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

Preview Lab → · Contrast checker → · Palette generator →

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