#1E2F01#1E2F01

#1E2F01 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.072 H 128.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#1E2F01
RGBrgb(30, 47, 1)
HSLhsl(82, 96%, 9%)
HSVhsv(82, 98%, 18%)
CMYKcmyk(36.2%, 0%, 97.9%, 81.6%)
CIE-LABlab(17.04, -15.43, 23.76)
CIE-LCHlch(17.04, 28.33, 122.99°)
OKLaboklab(27.97% -0.0446 0.0565)
OKLCHoklch(27.97% 0.072 128.3)
XYZxyz(1.5574, 2.3112, 0.3928)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F01 #12012F
analogous
#2F2901 #1E2F01 #072F01
triadic
#1E2F01 #011E2F #2F011E
tetradic
#1E2F01 #012F29 #12012F #2F0107
square
#1E2F01 #012F29 #12012F #2F0107
split-complementary
#1E2F01 #01072F #29012F
monochromatic
#131E01 #131E01 #1E2F01 #446B02 #6BA704

Accessibility & contrast

On white

14.36
#1E2F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E2F01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F01
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F01#FFFFFF#000000##FFFFFF
##1E2F011.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#302A04
Tritanopia (blue-blind)
#1F2C26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2f01;
/* rgb */ color: rgb(30, 47, 1);
/* oklch */ color: oklch(28.0% 0.072 128.3);
Tailwind
colors: {
  custom: {
    50: '#5b6747',
    500: '#1e2f01',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f01;
$custom-light: #5b6747;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f01",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 1
  },
  "hsl": {
    "h": 82.174,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27967,
    "c": 0.07203,
    "h": 128.3
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#1E2F01
secondary
#3A1775
accent
#29FF78
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1E2F01

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

Preview Lab → · Contrast checker → · Palette generator →

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