#1B580F#1B580F

#1B580F is a dark, vivid green. Relative luminance 0.072; OKLCH L 40.6% C 0.121 H 140.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#1B580F
RGBrgb(27, 88, 15)
HSLhsl(110, 71%, 20%)
HSVhsv(110, 83%, 35%)
CMYKcmyk(69.3%, 0%, 83%, 65.5%)
CIE-LABlab(32.36, -34.14, 34.01)
CIE-LCHlch(32.36, 48.19, 135.11°)
OKLaboklab(40.57% -0.0934 0.0761)
OKLCHoklch(40.57% 0.121 140.8)
XYZxyz(4.0277, 7.2465, 1.6383)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B580F #4C0F58
analogous
#3F580F #1B580F #0F5827
triadic
#1B580F #0F1B58 #580F1B
tetradic
#1B580F #0F3F58 #4C0F58 #58270F
square
#1B580F #0F3F58 #4C0F58 #58270F
split-complementary
#1B580F #270F58 #580F3F
monochromatic
#081A04 #0B2406 #1B580F #2B8C18 #3BC121

Accessibility & contrast

On white

8.57
#1B580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1B580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B580F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B580F#FFFFFF#000000##FFFFFF
##1B580F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F01
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#11554A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b580f;
/* rgb */ color: rgb(27, 88, 15);
/* oklch */ color: oklch(40.6% 0.121 140.8);
Tailwind
colors: {
  custom: {
    50: '#618854',
    500: '#1b580f',
    950: '#000000',
  },
}
SCSS
$custom: #1b580f;
$custom-light: #618854;
$custom-dark: #000000;
JSON
{
  "hex": "#1b580f",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 110.137,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40568,
    "c": 0.12051,
    "h": 140.8
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#1B580F
secondary
#823192
accent
#3AEED0
background
#F6F8F5
surface
#EBF0E8
border
#C6CBC4
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1B580F

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

Preview Lab → · Contrast checker → · Palette generator →

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