#1E4B0C#1E4B0C

#1E4B0C is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.7% C 0.104 H 138.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#1E4B0C
RGBrgb(30, 75, 12)
HSLhsl(103, 72%, 17%)
HSVhsv(103, 84%, 29%)
CMYKcmyk(60%, 0%, 84%, 70.6%)
CIE-LABlab(27.67, -28.17, 30.62)
CIE-LCHlch(27.67, 41.60, 132.61°)
OKLaboklab(36.71% -0.0777 0.0685)
OKLCHoklch(36.71% 0.104 138.6)
XYZxyz(3.1177, 5.3345, 1.2131)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E4B0C #390C4B
analogous
#3E4B0C #1E4B0C #0C4B1A
triadic
#1E4B0C #0C1E4B #4B0C1E
tetradic
#1E4B0C #0C3E4B #390C4B #4B1A0C
square
#1E4B0C #0C3E4B #390C4B #4B1A0C
split-complementary
#1E4B0C #1A0C4B #4B0C3E
monochromatic
#0B1A04 #0B1A04 #1E4B0C #338014 #48B51D

Accessibility & contrast

On white

10.16
#1E4B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1E4B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E4B0C
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E4B0C#FFFFFF#000000##FFFFFF
##1E4B0C1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4401
Deuteranopia (green-blind)
#484013
Tritanopia (blue-blind)
#1A483F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1e4b0c;
/* rgb */ color: rgb(30, 75, 12);
/* oklch */ color: oklch(36.7% 0.104 138.6);
Tailwind
colors: {
  custom: {
    50: '#607e50',
    500: '#1e4b0c',
    950: '#000000',
  },
}
SCSS
$custom: #1e4b0c;
$custom-light: #607e50;
$custom-dark: #000000;
JSON
{
  "hex": "#1e4b0c",
  "rgb": {
    "r": 30,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 102.857,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36711,
    "c": 0.10363,
    "h": 138.6
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#1E4B0C
secondary
#6D2C87
accent
#39EFBB
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1E4B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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