#1B450C#1B450C

#1B450C is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.7% C 0.097 H 138.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#1B450C
RGBrgb(27, 69, 12)
HSLhsl(104, 70%, 16%)
HSVhsv(104, 83%, 27%)
CMYKcmyk(60.9%, 0%, 82.6%, 72.9%)
CIE-LABlab(25.31, -26.50, 28.25)
CIE-LCHlch(25.31, 38.74, 133.17°)
OKLaboklab(34.73% -0.073 0.0636)
OKLCHoklch(34.73% 0.097 138.9)
XYZxyz(2.6464, 4.5156, 1.0799)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B450C #360C45
analogous
#37450C #1B450C #0C4519
triadic
#1B450C #0C1B45 #450C1B
tetradic
#1B450C #0C3745 #360C45 #45190C
square
#1B450C #0C3745 #360C45 #45190C
split-complementary
#1B450C #190C45 #450C37
monochromatic
#0A1A05 #0A1A05 #1B450C #2F7915 #44AD1E

Accessibility & contrast

On white

11.03
#1B450C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1B450C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B450C
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B450C#FFFFFF#000000##FFFFFF
##1B450C1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E03
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#17423A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b450c;
/* rgb */ color: rgb(27, 69, 12);
/* oklch */ color: oklch(34.7% 0.097 138.9);
Tailwind
colors: {
  custom: {
    50: '#5d794f',
    500: '#1b450c',
    950: '#000000',
  },
}
SCSS
$custom: #1b450c;
$custom-light: #5d794f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b450c",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 104.211,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34731,
    "c": 0.09687,
    "h": 138.9
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#1B450C
secondary
#6B2C81
accent
#3BEDBE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #1B450C

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

Preview Lab → · Contrast checker → · Palette generator →

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