#1B8418#1B8418

#1B8418 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.168 H 142.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1B8418
RGBrgb(27, 132, 24)
HSLhsl(118, 69%, 31%)
HSVhsv(118, 82%, 52%)
CMYKcmyk(79.5%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.01, -49.12, 45.93)
CIE-LCHlch(48.01, 67.25, 136.92°)
OKLaboklab(53.58% -0.1335 0.1024)
OKLCHoklch(53.58% 0.168 142.5)
XYZxyz(8.8676, 16.8004, 3.6394)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8418 #811884
analogous
#518418 #1B8418 #18844B
triadic
#1B8418 #181B84 #84181B
tetradic
#1B8418 #185184 #811884 #844B18
square
#1B8418 #185184 #811884 #844B18
split-complementary
#1B8418 #4B1884 #841851
monochromatic
#061C05 #10500F #1B8418 #26B821 #3FDB3B

Accessibility & contrast

On white

4.82
#1B8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1B8418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8418
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8418#FFFFFF#000000##FFFFFF
##1B84181.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1b8418;
/* rgb */ color: rgb(27, 132, 24);
/* oklch */ color: oklch(53.6% 0.168 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ca95f',
    500: '#1b8418',
    950: '#000000',
  },
}
SCSS
$custom: #1b8418;
$custom-light: #6ca95f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8418",
  "rgb": {
    "r": 27,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 118.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.1682,
    "h": 142.5
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#1B8418
secondary
#B540B8
accent
#3CECE7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B8418

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

Preview Lab → · Contrast checker → · Palette generator →

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