#1E270E#1E270E

#1E270E is a dark, muted yellow-green. Relative luminance 0.018; OKLCH L 25.7% C 0.044 H 125.7°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#1E270E
RGBrgb(30, 39, 14)
HSLhsl(82, 47%, 10%)
HSVhsv(82, 64%, 15%)
CMYKcmyk(23.1%, 0%, 64.1%, 84.7%)
CIE-LABlab(14.17, -9.24, 14.64)
CIE-LCHlch(14.17, 17.31, 122.25°)
OKLaboklab(25.69% -0.0259 0.036)
OKLCHoklch(25.69% 0.044 125.7)
XYZxyz(1.3402, 1.7588, 0.6842)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E270E #170E27
analogous
#27230E #1E270E #11270E
triadic
#1E270E #0E1E27 #270E1E
tetradic
#1E270E #0E2723 #170E27 #270E11
square
#1E270E #0E2723 #170E27 #270E11
split-complementary
#1E270E #0E1127 #230E27
monochromatic
#111708 #111708 #1E270E #41541E #63812E

Accessibility & contrast

On white

15.53
#1E270E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E270E
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E270E#FFFFFF#000000##FFFFFF
##1E270E1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240C
Deuteranopia (green-blind)
#28240F
Tritanopia (blue-blind)
#1F2521
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e270e;
/* rgb */ color: rgb(30, 39, 14);
/* oklch */ color: oklch(25.7% 0.044 125.7);
Tailwind
colors: {
  custom: {
    50: '#5a614d',
    500: '#1e270e',
    950: '#000000',
  },
}
SCSS
$custom: #1e270e;
$custom-light: #5a614d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e270e",
  "rgb": {
    "r": 30,
    "g": 39,
    "b": 14
  },
  "hsl": {
    "h": 81.6,
    "s": 47.17,
    "l": 10.392
  },
  "oklch": {
    "l": 0.25686,
    "c": 0.04428,
    "h": 125.7
  },
  "luminance": 0.01759
}

Semantic roles & 50–950 ramp

primary
#1E270E
secondary
#423060
accent
#51D781
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040501
muted
#797977

Preview Lab

Preview with #1E270E

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

Preview Lab → · Contrast checker → · Palette generator →

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