#1B5A0F#1B5A0F

#1B5A0F is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.2% C 0.123 H 140.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#1B5A0F
RGBrgb(27, 90, 15)
HSLhsl(110, 71%, 21%)
HSVhsv(110, 83%, 35%)
CMYKcmyk(70%, 0%, 83.3%, 64.7%)
CIE-LABlab(33.09, -34.91, 34.71)
CIE-LCHlch(33.09, 49.23, 135.16°)
OKLaboklab(41.17% -0.0955 0.0776)
OKLCHoklch(41.17% 0.123 140.9)
XYZxyz(4.1942, 7.5794, 1.6938)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5A0F #4E0F5A
analogous
#405A0F #1B5A0F #0F5A28
triadic
#1B5A0F #0F1B5A #5A0F1B
tetradic
#1B5A0F #0F405A #4E0F5A #5A280F
square
#1B5A0F #0F405A #4E0F5A #5A280F
split-complementary
#1B5A0F #280F5A #5A0F40
monochromatic
#081A04 #0B2606 #1B5A0F #2B8E18 #3AC320

Accessibility & contrast

On white

8.35
#1B5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1B5A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5A0F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5A0F#FFFFFF#000000##FFFFFF
##1B5A0F1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#10574C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b5a0f;
/* rgb */ color: rgb(27, 90, 15);
/* oklch */ color: oklch(41.2% 0.123 140.9);
Tailwind
colors: {
  custom: {
    50: '#628954',
    500: '#1b5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #1b5a0f;
$custom-light: #628954;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5a0f",
  "rgb": {
    "r": 27,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 110.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41172,
    "c": 0.12306,
    "h": 140.9
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#1B5A0F
secondary
#843194
accent
#3AEED1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1B5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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