#1B6712#1B6712

#1B6712 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.138 H 141.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#1B6712
RGBrgb(27, 103, 18)
HSLhsl(114, 70%, 24%)
HSVhsv(114, 83%, 40%)
CMYKcmyk(73.8%, 0%, 82.5%, 59.6%)
CIE-LABlab(37.80, -39.55, 38.18)
CIE-LCHlch(37.80, 54.97, 136.01°)
OKLaboklab(45.08% -0.1079 0.0853)
OKLCHoklch(45.08% 0.138 141.7)
XYZxyz(5.4111, 9.9766, 2.2127)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B6712 #5E1267
analogous
#456712 #1B6712 #126733
triadic
#1B6712 #121B67 #67121B
tetradic
#1B6712 #124567 #5E1267 #673312
square
#1B6712 #124567 #5E1267 #673312
split-complementary
#1B6712 #331267 #671245
monochromatic
#071A05 #0D3309 #1B6712 #299B1B #36CF24

Accessibility & contrast

On white

7.01
#1B6712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#1B6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B6712
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B6712#FFFFFF#000000##FFFFFF
##1B67121.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#076457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1b6712;
/* rgb */ color: rgb(27, 103, 18);
/* oklch */ color: oklch(45.1% 0.138 141.7);
Tailwind
colors: {
  custom: {
    50: '#659357',
    500: '#1b6712',
    950: '#000000',
  },
}
SCSS
$custom: #1b6712;
$custom-light: #659357;
$custom-dark: #000000;
JSON
{
  "hex": "#1b6712",
  "rgb": {
    "r": 27,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 113.647,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45083,
    "c": 0.13751,
    "h": 141.7
  },
  "luminance": 0.09977
}

Semantic roles & 50–950 ramp

primary
#1B6712
secondary
#94369F
accent
#3BEDDA
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #1B6712

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

Preview Lab → · Contrast checker → · Palette generator →

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