#1B450F#1B450F

#1B450F is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.8% C 0.095 H 139.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#1B450F
RGBrgb(27, 69, 15)
HSLhsl(107, 64%, 16%)
HSVhsv(107, 78%, 27%)
CMYKcmyk(60.9%, 0%, 78.3%, 72.9%)
CIE-LABlab(25.33, -26.23, 26.95)
CIE-LCHlch(25.33, 37.61, 134.23°)
OKLaboklab(34.76% -0.0721 0.0614)
OKLCHoklch(34.76% 0.095 139.6)
XYZxyz(2.6662, 4.5235, 1.1845)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B450F #390F45
analogous
#36450F #1B450F #0F451E
triadic
#1B450F #0F1B45 #450F1B
tetradic
#1B450F #0F3645 #390F45 #451E0F
square
#1B450F #0F3645 #390F45 #451E0F
split-complementary
#1B450F #1E0F45 #450F36
monochromatic
#0A1905 #0A1905 #1B450F #2F771A #42AA25

Accessibility & contrast

On white

11.02
#1B450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B450F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B450F#FFFFFF#000000##FFFFFF
##1B450F1.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b450f;
/* rgb */ color: rgb(27, 69, 15);
/* oklch */ color: oklch(34.8% 0.095 139.6);
Tailwind
colors: {
  custom: {
    50: '#5d7951',
    500: '#1b450f',
    950: '#000000',
  },
}
SCSS
$custom: #1b450f;
$custom-light: #5d7951;
$custom-dark: #000000;
JSON
{
  "hex": "#1b450f",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 106.667,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34758,
    "c": 0.09467,
    "h": 139.6
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#1B450F
secondary
#6E307F
accent
#41E7C2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #1B450F

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

Preview Lab → · Contrast checker → · Palette generator →

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