#1C4F0F#1C4F0F

#1C4F0F is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.108 H 140.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#1C4F0F
RGBrgb(28, 79, 15)
HSLhsl(108, 68%, 18%)
HSVhsv(108, 81%, 31%)
CMYKcmyk(64.6%, 0%, 81%, 69%)
CIE-LABlab(29.09, -30.24, 30.79)
CIE-LCHlch(29.09, 43.16, 134.48°)
OKLaboklab(37.87% -0.083 0.0694)
OKLCHoklch(37.87% 0.108 140.1)
XYZxyz(3.3609, 5.8730, 1.4083)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F0F #420F4F
analogous
#3C4F0F #1C4F0F #0F4F22
triadic
#1C4F0F #0F1C4F #4F0F1C
tetradic
#1C4F0F #0F3C4F #420F4F #4F220F
square
#1C4F0F #0F3C4F #420F4F #4F220F
split-complementary
#1C4F0F #220F4F #4F0F3C
monochromatic
#091A05 #0A1C05 #1C4F0F #2E8219 #40B623

Accessibility & contrast

On white

9.66
#1C4F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1C4F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F0F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F0F#FFFFFF#000000##FFFFFF
##1C4F0F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514704
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#154C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c4f0f;
/* rgb */ color: rgb(28, 79, 15);
/* oklch */ color: oklch(37.9% 0.108 140.1);
Tailwind
colors: {
  custom: {
    50: '#608152',
    500: '#1c4f0f',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f0f;
$custom-light: #608152;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f0f",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 107.813,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37871,
    "c": 0.10818,
    "h": 140.1
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#1C4F0F
secondary
#773189
accent
#3DEBC8
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1C4F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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