#1E2C07#1E2C07

#1E2C07 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.061 H 127.8°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#1E2C07
RGBrgb(30, 44, 7)
HSLhsl(83, 73%, 10%)
HSVhsv(83, 84%, 17%)
CMYKcmyk(31.8%, 0%, 84.1%, 82.7%)
CIE-LABlab(15.97, -13.08, 19.99)
CIE-LCHlch(15.97, 23.89, 123.21°)
OKLaboklab(27.11% -0.0373 0.0481)
OKLCHoklch(27.11% 0.061 127.8)
XYZxyz(1.4745, 2.0927, 0.5272)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2C07 #15072C
analogous
#2C2807 #1E2C07 #0B2C07
triadic
#1E2C07 #071E2C #2C071E
tetradic
#1E2C07 #072C28 #15072C #2C070B
square
#1E2C07 #072C28 #15072C #2C070B
split-complementary
#1E2C07 #070B2C #28072C
monochromatic
#121A04 #121A04 #1E2C07 #42610F #669618

Accessibility & contrast

On white

14.80
#1E2C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2C07
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2C07#FFFFFF#000000##FFFFFF
##1E2C071.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2803
Deuteranopia (green-blind)
#2D270A
Tritanopia (blue-blind)
#1F2A25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e2c07;
/* rgb */ color: rgb(30, 44, 7);
/* oklch */ color: oklch(27.1% 0.061 127.8);
Tailwind
colors: {
  custom: {
    50: '#5b654a',
    500: '#1e2c07',
    950: '#000000',
  },
}
SCSS
$custom: #1e2c07;
$custom-light: #5b654a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2c07",
  "rgb": {
    "r": 30,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 82.703,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.27113,
    "c": 0.06087,
    "h": 127.8
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#1E2C07
secondary
#3F236C
accent
#39EF7E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #1E2C07

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

Preview Lab → · Contrast checker → · Palette generator →

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