#1B5A12#1B5A12

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

Color values

HEX#1B5A12
RGBrgb(27, 90, 18)
HSLhsl(113, 67%, 21%)
HSVhsv(113, 80%, 35%)
CMYKcmyk(70%, 0%, 80%, 64.7%)
CIE-LABlab(33.11, -34.68, 33.59)
CIE-LCHlch(33.11, 48.28, 135.91°)
OKLaboklab(41.2% -0.0947 0.0757)
OKLCHoklch(41.2% 0.121 141.4)
XYZxyz(4.2171, 7.5886, 1.8147)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5A12 #51125A
analogous
#3F5A12 #1B5A12 #125A2D
triadic
#1B5A12 #121B5A #5A121B
tetradic
#1B5A12 #123F5A #51125A #5A2D12
square
#1B5A12 #123F5A #51125A #5A2D12
split-complementary
#1B5A12 #2D125A #5A123F
monochromatic
#081A05 #0C2708 #1B5A12 #2A8D1C #3AC026

Accessibility & contrast

On white

8.34
#1B5A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5A12
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5A12#FFFFFF#000000##FFFFFF
##1B5A121.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#0F574C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b5a12;
/* rgb */ color: rgb(27, 90, 18);
/* oklch */ color: oklch(41.2% 0.121 141.4);
Tailwind
colors: {
  custom: {
    50: '#618955',
    500: '#1b5a12',
    950: '#000000',
  },
}
SCSS
$custom: #1b5a12;
$custom-light: #618955;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5a12",
  "rgb": {
    "r": 27,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 112.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41195,
    "c": 0.12125,
    "h": 141.4
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#1B5A12
secondary
#873593
accent
#3EEAD4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1B5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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