#8B8618#8B8618

#8B8618 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.122 H 106.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8B8618
RGBrgb(139, 134, 24)
HSLhsl(57, 71%, 32%)
HSVhsv(57, 83%, 55%)
CMYKcmyk(0%, 3.6%, 82.7%, 45.5%)
CIE-LABlab(54.66, -10.51, 54.21)
CIE-LCHlch(54.66, 55.22, 100.97°)
OKLaboklab(60.56% -0.0352 0.1172)
OKLCHoklch(60.56% 0.122 106.7)
XYZxyz(19.3383, 22.6058, 4.2087)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8618 #181D8B
analogous
#8B4C18 #8B8618 #578B18
triadic
#8B8618 #188B86 #86188B
tetradic
#8B8618 #188B4C #181D8B #8B1857
square
#8B8618 #188B4C #181D8B #8B1857
split-complementary
#8B8618 #18578B #4C188B
monochromatic
#232106 #57540F #8B8618 #BFB821 #DED73F

Accessibility & contrast

On white

3.80
#8B8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8B8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8618
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8618#FFFFFF#000000##000000
##8B86181.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#948522
Tritanopia (blue-blind)
#967C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b8618;
/* rgb */ color: rgb(139, 134, 24);
/* oklch */ color: oklch(60.6% 0.122 106.7);
Tailwind
colors: {
  custom: {
    50: '#b1a861',
    500: '#8b8618',
    950: '#000000',
  },
}
SCSS
$custom: #8b8618;
$custom-light: #b1a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8618",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 57.391,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60558,
    "c": 0.12234,
    "h": 106.7
  },
  "luminance": 0.22605
}

Semantic roles & 50–950 ramp

primary
#8B8618
secondary
#4046BE
accent
#42ED3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8B8618

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

Preview Lab → · Contrast checker → · Palette generator →

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