#8B8F15#8B8F15

#8B8F15 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.133 H 111.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8B8F15
RGBrgb(139, 143, 21)
HSLhsl(62, 74%, 32%)
HSVhsv(62, 85%, 56%)
CMYKcmyk(2.8%, 0%, 85.3%, 43.9%)
CIE-LABlab(57.26, -15.40, 57.23)
CIE-LCHlch(57.26, 59.27, 105.06°)
OKLaboklab(62.63% -0.049 0.1231)
OKLCHoklch(62.63% 0.133 111.7)
XYZxyz(20.6060, 25.1886, 4.4857)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8F15 #19158F
analogous
#8F5615 #8B8F15 #4E8F15
triadic
#8B8F15 #158B8F #8F158B
tetradic
#8B8F15 #158F56 #19158F #8F154E
square
#8B8F15 #158F56 #19158F #8F154E
split-complementary
#8B8F15 #154E8F #56158F
monochromatic
#232405 #575A0D #8B8F15 #BFC41D #DDE23C

Accessibility & contrast

On white

3.48
#8B8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8B8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8F15
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8F15#FFFFFF#000000##000000
##8B8F151.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9B8B22
Tritanopia (blue-blind)
#95867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b8f15;
/* rgb */ color: rgb(139, 143, 21);
/* oklch */ color: oklch(62.6% 0.133 111.7);
Tailwind
colors: {
  custom: {
    50: '#b1af61',
    500: '#8b8f15',
    950: '#000000',
  },
}
SCSS
$custom: #8b8f15;
$custom-light: #b1af61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8f15",
  "rgb": {
    "r": 139,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 61.967,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62627,
    "c": 0.13255,
    "h": 111.7
  },
  "luminance": 0.25188
}

Semantic roles & 50–950 ramp

primary
#8B8F15
secondary
#423EC2
accent
#37F13D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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