#8B9F18#8B9F18

#8B9F18 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.4% C 0.149 H 118.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8B9F18
RGBrgb(139, 159, 24)
HSLhsl(69, 74%, 36%)
HSVhsv(69, 85%, 62%)
CMYKcmyk(12.6%, 0%, 84.9%, 37.6%)
CIE-LABlab(61.96, -23.49, 60.48)
CIE-LCHlch(61.96, 64.88, 111.23°)
OKLaboklab(66.4% -0.0711 0.1307)
OKLCHoklch(66.4% 0.149 118.5)
XYZxyz(23.2110, 30.3514, 5.4996)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9F18 #2C189F
analogous
#9F6F18 #8B9F18 #479F18
triadic
#8B9F18 #188B9F #9F188B
tetradic
#8B9F18 #189F6F #2C189F #9F1847
square
#8B9F18 #189F6F #2C189F #9F1847
split-complementary
#8B9F18 #18479F #6F189F
monochromatic
#2E3508 #5D6A10 #8B9F18 #B9D420 #CEE44D

Accessibility & contrast

On white

2.97
#8B9F18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8B9F18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9F18
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9F18#FFFFFF#000000##000000
##8B9F181.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A89627
Tritanopia (blue-blind)
#949687
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8b9f18;
/* rgb */ color: rgb(139, 159, 24);
/* oklch */ color: oklch(66.4% 0.149 118.5);
Tailwind
colors: {
  custom: {
    50: '#b1bb64',
    500: '#8b9f18',
    950: '#000000',
  },
}
SCSS
$custom: #8b9f18;
$custom-light: #b1bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9f18",
  "rgb": {
    "r": 139,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 68.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66404,
    "c": 0.14876,
    "h": 118.5
  },
  "luminance": 0.30351
}

Semantic roles & 50–950 ramp

primary
#8B9F18
secondary
#5F4DC6
accent
#37F053
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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