#1E2F08#1E2F08

#1E2F08 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.1% C 0.065 H 130.1°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#1E2F08
RGBrgb(30, 47, 8)
HSLhsl(86, 71%, 11%)
HSVhsv(86, 83%, 18%)
CMYKcmyk(36.2%, 0%, 83%, 81.6%)
CIE-LABlab(17.12, -14.71, 21.00)
CIE-LCHlch(17.12, 25.64, 125.00°)
OKLaboklab(28.05% -0.0417 0.0495)
OKLCHoklch(28.05% 0.065 130.1)
XYZxyz(1.5958, 2.3265, 0.5947)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F08 #19082F
analogous
#2F2C08 #1E2F08 #0A2F08
triadic
#1E2F08 #081E2F #2F081E
tetradic
#1E2F08 #082F2C #19082F #2F080A
square
#1E2F08 #082F2C #19082F #2F080A
split-complementary
#1E2F08 #080A2F #2C082F
monochromatic
#111A04 #111A04 #1E2F08 #3F6311 #61981A

Accessibility & contrast

On white

14.33
#1E2F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1E2F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F08
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F08#FFFFFF#000000##FFFFFF
##1E2F081.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B04
Deuteranopia (green-blind)
#2F2A0B
Tritanopia (blue-blind)
#1F2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e2f08;
/* rgb */ color: rgb(30, 47, 8);
/* oklch */ color: oklch(28.1% 0.065 130.1);
Tailwind
colors: {
  custom: {
    50: '#5b674b',
    500: '#1e2f08',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f08;
$custom-light: #5b674b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f08",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 86.154,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2805,
    "c": 0.06473,
    "h": 130.1
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#1E2F08
secondary
#45256E
accent
#3AEE88
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1E2F08

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

Preview Lab → · Contrast checker → · Palette generator →

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