#1E5F0C#1E5F0C

#1E5F0C is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.8% C 0.130 H 140.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#1E5F0C
RGBrgb(30, 95, 12)
HSLhsl(107, 78%, 21%)
HSVhsv(107, 87%, 37%)
CMYKcmyk(68.4%, 0%, 87.4%, 62.7%)
CIE-LABlab(34.98, -36.28, 37.53)
CIE-LCHlch(34.98, 52.20, 134.03°)
OKLaboklab(42.75% -0.0996 0.083)
OKLCHoklch(42.75% 0.13 140.2)
XYZxyz(4.6938, 8.4865, 1.7385)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5F0C #4D0C5F
analogous
#475F0C #1E5F0C #0C5F23
triadic
#1E5F0C #0C1E5F #5F0C1E
tetradic
#1E5F0C #0C475F #4D0C5F #5F230C
square
#1E5F0C #0C475F #4D0C5F #5F230C
split-complementary
#1E5F0C #230C5F #5F0C47
monochromatic
#091B03 #0D2905 #1E5F0C #2F9513 #40CC1A

Accessibility & contrast

On white

7.79
#1E5F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1E5F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5F0C
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5F0C#FFFFFF#000000##FFFFFF
##1E5F0C1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625500
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#145C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1e5f0c;
/* rgb */ color: rgb(30, 95, 12);
/* oklch */ color: oklch(42.8% 0.130 140.2);
Tailwind
colors: {
  custom: {
    50: '#648d54',
    500: '#1e5f0c',
    950: '#000000',
  },
}
SCSS
$custom: #1e5f0c;
$custom-light: #648d54;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5f0c",
  "rgb": {
    "r": 30,
    "g": 95,
    "b": 12
  },
  "hsl": {
    "h": 106.988,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42754,
    "c": 0.12961,
    "h": 140.2
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#1E5F0C
secondary
#822D99
accent
#34F4CA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1E5F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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