#1A480C#1A480C

#1A480C is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.102 H 139.6°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#1A480C
RGBrgb(26, 72, 12)
HSLhsl(106, 71%, 16%)
HSVhsv(106, 83%, 28%)
CMYKcmyk(63.9%, 0%, 83.3%, 71.8%)
CIE-LABlab(26.39, -28.13, 29.31)
CIE-LCHlch(26.39, 40.62, 133.82°)
OKLaboklab(35.61% -0.0773 0.0659)
OKLCHoklch(35.61% 0.102 139.6)
XYZxyz(2.8096, 4.8806, 1.1418)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A480C #3A0C48
analogous
#38480C #1A480C #0C481C
triadic
#1A480C #0C1A48 #480C1A
tetradic
#1A480C #0C3848 #3A0C48 #481C0C
square
#1A480C #0C3848 #3A0C48 #481C0C
split-complementary
#1A480C #1C0C48 #480C38
monochromatic
#091A04 #091A04 #1A480C #2D7C15 #40B11D

Accessibility & contrast

On white

10.63
#1A480C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1A480C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A480C
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A480C#FFFFFF#000000##FFFFFF
##1A480C1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4102
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#15453D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a480c;
/* rgb */ color: rgb(26, 72, 12);
/* oklch */ color: oklch(35.6% 0.102 139.6);
Tailwind
colors: {
  custom: {
    50: '#5d7b50',
    500: '#1a480c',
    950: '#000000',
  },
}
SCSS
$custom: #1a480c;
$custom-light: #5d7b50;
$custom-dark: #000000;
JSON
{
  "hex": "#1a480c",
  "rgb": {
    "r": 26,
    "g": 72,
    "b": 12
  },
  "hsl": {
    "h": 106,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35614,
    "c": 0.10158,
    "h": 139.6
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#1A480C
secondary
#6F2C84
accent
#3AEEC4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1A480C

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

Preview Lab → · Contrast checker → · Palette generator →

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