#1E4C0B#1E4C0B

#1E4C0B is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.106 H 138.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#1E4C0B
RGBrgb(30, 76, 11)
HSLhsl(102, 75%, 17%)
HSVhsv(102, 86%, 30%)
CMYKcmyk(60.5%, 0%, 85.5%, 70.2%)
CIE-LABlab(28.03, -28.67, 31.35)
CIE-LCHlch(28.03, 42.49, 132.44°)
OKLaboklab(37.01% -0.0792 0.0699)
OKLCHoklch(37.01% 0.106 138.6)
XYZxyz(3.1801, 5.4688, 1.2045)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4C0B #390B4C
analogous
#3F4C0B #1E4C0B #0B4C19
triadic
#1E4C0B #0B1E4C #4C0B1E
tetradic
#1E4C0B #0B3F4C #390B4C #4C190B
square
#1E4C0B #0B3F4C #390B4C #4C190B
split-complementary
#1E4C0B #190B4C #4C0B3F
monochromatic
#0B1B04 #0B1B04 #1E4C0B #338113 #48B71A

Accessibility & contrast

On white

10.03
#1E4C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1E4C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4C0B
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4C0B#FFFFFF#000000##FFFFFF
##1E4C0B1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4400
Deuteranopia (green-blind)
#494112
Tritanopia (blue-blind)
#1A4940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1e4c0b;
/* rgb */ color: rgb(30, 76, 11);
/* oklch */ color: oklch(37.0% 0.106 138.6);
Tailwind
colors: {
  custom: {
    50: '#607e50',
    500: '#1e4c0b',
    950: '#000000',
  },
}
SCSS
$custom: #1e4c0b;
$custom-light: #607e50;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4c0b",
  "rgb": {
    "r": 30,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 102.462,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37009,
    "c": 0.1056,
    "h": 138.6
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#1E4C0B
secondary
#6D2B88
accent
#36F1BB
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1E4C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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