#8B9015#8B9015

#8B9015 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.134 H 112.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8B9015
RGBrgb(139, 144, 21)
HSLhsl(62, 75%, 32%)
HSVhsv(62, 85%, 56%)
CMYKcmyk(3.5%, 0%, 85.4%, 43.5%)
CIE-LABlab(57.55, -15.93, 57.48)
CIE-LCHlch(57.55, 59.64, 105.49°)
OKLaboklab(62.86% -0.0505 0.1237)
OKLCHoklch(62.86% 0.134 112.2)
XYZxyz(20.7568, 25.4902, 4.5360)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9015 #1A1590
analogous
#905815 #8B9015 #4E9015
triadic
#8B9015 #158B90 #90158B
tetradic
#8B9015 #159058 #1A1590 #90154E
square
#8B9015 #159058 #1A1590 #90154E
split-complementary
#8B9015 #154E90 #581590
monochromatic
#242505 #575B0D #8B9015 #BFC51D #DCE33D

Accessibility & contrast

On white

3.44
#8B9015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8B9015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9015
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9015#FFFFFF#000000##000000
##8B90151.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9C8C22
Tritanopia (blue-blind)
#95877A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b9015;
/* rgb */ color: rgb(139, 144, 21);
/* oklch */ color: oklch(62.9% 0.134 112.2);
Tailwind
colors: {
  custom: {
    50: '#b1b061',
    500: '#8b9015',
    950: '#000000',
  },
}
SCSS
$custom: #8b9015;
$custom-light: #b1b061;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9015",
  "rgb": {
    "r": 139,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 62.439,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62861,
    "c": 0.13358,
    "h": 112.2
  },
  "luminance": 0.2549
}

Semantic roles & 50–950 ramp

primary
#8B9015
secondary
#443EC2
accent
#37F13E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B9015

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

Preview Lab → · Contrast checker → · Palette generator →

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