#8B8F16#8B8F16

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

Color values

HEX#8B8F16
RGBrgb(139, 143, 22)
HSLhsl(62, 73%, 32%)
HSVhsv(62, 85%, 56%)
CMYKcmyk(2.8%, 0%, 84.6%, 43.9%)
CIE-LABlab(57.26, -15.37, 56.98)
CIE-LCHlch(57.26, 59.02, 105.10°)
OKLaboklab(62.63% -0.0489 0.1228)
OKLCHoklch(62.63% 0.132 111.7)
XYZxyz(20.6155, 25.1924, 4.5355)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8F16 #1A168F
analogous
#8F5616 #8B8F16 #4F8F16
triadic
#8B8F16 #168B8F #8F168B
tetradic
#8B8F16 #168F56 #1A168F #8F164F
square
#8B8F16 #168F56 #1A168F #8F164F
split-complementary
#8B8F16 #164F8F #56168F
monochromatic
#242506 #575A0E #8B8F16 #BFC41E #DCE13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8F16#FFFFFF#000000##000000
##8B8F161.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)
#9B8B23
Tritanopia (blue-blind)
#95867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b8f16;
/* rgb */ color: rgb(139, 143, 22);
/* oklch */ color: oklch(62.6% 0.132 111.7);
Tailwind
colors: {
  custom: {
    50: '#b1af61',
    500: '#8b8f16',
    950: '#000000',
  },
}
SCSS
$custom: #8b8f16;
$custom-light: #b1af61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8f16",
  "rgb": {
    "r": 139,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 61.983,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62631,
    "c": 0.13216,
    "h": 111.7
  },
  "luminance": 0.25192
}

Semantic roles & 50–950 ramp

primary
#8B8F16
secondary
#443FC1
accent
#38F03E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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