#1B490C#1B490C

#1B490C is a dark, moderate green. Relative luminance 0.050; OKLCH L 36.0% C 0.102 H 139.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#1B490C
RGBrgb(27, 73, 12)
HSLhsl(105, 72%, 17%)
HSVhsv(105, 84%, 29%)
CMYKcmyk(63%, 0%, 83.6%, 71.4%)
CIE-LABlab(26.80, -28.25, 29.73)
CIE-LCHlch(26.80, 41.01, 133.53°)
OKLaboklab(35.97% -0.0777 0.0667)
OKLCHoklch(35.97% 0.102 139.4)
XYZxyz(2.9008, 5.0244, 1.1647)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B490C #3A0C49
analogous
#3A490C #1B490C #0C491C
triadic
#1B490C #0C1B49 #490C1B
tetradic
#1B490C #0C3A49 #3A0C49 #491C0C
square
#1B490C #0C3A49 #3A0C49 #491C0C
split-complementary
#1B490C #1C0C49 #490C3A
monochromatic
#0A1A04 #0A1A04 #1B490C #2E7E15 #42B21D

Accessibility & contrast

On white

10.47
#1B490C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1B490C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B490C
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B490C#FFFFFF#000000##FFFFFF
##1B490C1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4202
Deuteranopia (green-blind)
#463E13
Tritanopia (blue-blind)
#16463D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b490c;
/* rgb */ color: rgb(27, 73, 12);
/* oklch */ color: oklch(36.0% 0.102 139.4);
Tailwind
colors: {
  custom: {
    50: '#5e7c50',
    500: '#1b490c',
    950: '#000000',
  },
}
SCSS
$custom: #1b490c;
$custom-light: #5e7c50;
$custom-dark: #000000;
JSON
{
  "hex": "#1b490c",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 12
  },
  "hsl": {
    "h": 105.246,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35965,
    "c": 0.10244,
    "h": 139.4
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#1B490C
secondary
#6F2C85
accent
#39EEC2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B490C

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

Preview Lab → · Contrast checker → · Palette generator →

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