#1E2C12#1E2C12

#1E2C12 is a dark, muted yellow-green. Relative luminance 0.021; OKLCH L 27.3% C 0.048 H 132.1°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#1E2C12
RGBrgb(30, 44, 18)
HSLhsl(92, 42%, 12%)
HSVhsv(92, 59%, 17%)
CMYKcmyk(31.8%, 0%, 59.1%, 82.7%)
CIE-LABlab(16.11, -11.74, 14.90)
CIE-LCHlch(16.11, 18.97, 128.23°)
OKLaboklab(27.28% -0.0325 0.0359)
OKLCHoklch(27.28% 0.048 132.1)
XYZxyz(1.5453, 2.1210, 0.9001)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C12 #20122C
analogous
#2B2C12 #1E2C12 #122C13
triadic
#1E2C12 #121E2C #2C121E
tetradic
#1E2C12 #122B2C #20122C #2C1312
square
#1E2C12 #122B2C #20122C #2C1312
split-complementary
#1E2C12 #13122C #2C122B
monochromatic
#0F1609 #0F1609 #1E2C12 #3C5724 #598336

Accessibility & contrast

On white

14.75
#1E2C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2C12
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C12#FFFFFF#000000##FFFFFF
##1E2C121.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2910
Deuteranopia (green-blind)
#2C2814
Tritanopia (blue-blind)
#1E2A26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e2c12;
/* rgb */ color: rgb(30, 44, 18);
/* oklch */ color: oklch(27.3% 0.048 132.1);
Tailwind
colors: {
  custom: {
    50: '#5a6550',
    500: '#1e2c12',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c12;
$custom-light: #5a6550;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c12",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 92.308,
    "s": 41.935,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27275,
    "c": 0.04841,
    "h": 132.1
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#1E2C12
secondary
#4F3663
accent
#56D299
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040502
muted
#797A78

Preview Lab

Preview with #1E2C12

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

Preview Lab → · Contrast checker → · Palette generator →

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