#8B9D18#8B9D18

#8B9D18 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 65.9% C 0.147 H 117.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8B9D18
RGBrgb(139, 157, 24)
HSLhsl(68, 73%, 35%)
HSVhsv(68, 85%, 62%)
CMYKcmyk(11.5%, 0%, 84.7%, 38.4%)
CIE-LABlab(61.37, -22.49, 59.98)
CIE-LCHlch(61.37, 64.05, 110.56°)
OKLaboklab(65.93% -0.0683 0.1296)
OKLCHoklch(65.93% 0.147 117.8)
XYZxyz(22.8699, 29.6691, 5.3859)
Luminance0.2967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9D18 #2A189D
analogous
#9D6C18 #8B9D18 #499D18
triadic
#8B9D18 #188B9D #9D188B
tetradic
#8B9D18 #189D6C #2A189D #9D1849
square
#8B9D18 #189D6C #2A189D #9D1849
split-complementary
#8B9D18 #18499D #6C189D
monochromatic
#2D3308 #5C6810 #8B9D18 #BAD220 #CFE44C

Accessibility & contrast

On white

3.03
#8B9D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8B9D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9D18
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9D18#FFFFFF#000000##000000
##8B9D181.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A69527
Tritanopia (blue-blind)
#949486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8b9d18;
/* rgb */ color: rgb(139, 157, 24);
/* oklch */ color: oklch(65.9% 0.147 117.8);
Tailwind
colors: {
  custom: {
    50: '#b1b964',
    500: '#8b9d18',
    950: '#000000',
  },
}
SCSS
$custom: #8b9d18;
$custom-light: #b1b964;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9d18",
  "rgb": {
    "r": 139,
    "g": 157,
    "b": 24
  },
  "hsl": {
    "h": 68.12,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6593,
    "c": 0.14651,
    "h": 117.8
  },
  "luminance": 0.29669
}

Semantic roles & 50–950 ramp

primary
#8B9D18
secondary
#5C4BC5
accent
#38F051
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9D18

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

Preview Lab → · Contrast checker → · Palette generator →

#8B9D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva