#8C8522#8C8522

#8C8522 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.116 H 105.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8C8522
RGBrgb(140, 133, 34)
HSLhsl(56, 61%, 34%)
HSVhsv(56, 76%, 55%)
CMYKcmyk(0%, 5%, 75.7%, 45.1%)
CIE-LABlab(54.52, -9.10, 50.82)
CIE-LCHlch(54.52, 51.63, 100.16°)
OKLaboklab(60.48% -0.0305 0.1118)
OKLCHoklch(60.48% 0.116 105.2)
XYZxyz(19.4923, 22.4668, 4.8228)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8522 #22298C
analogous
#8C5022 #8C8522 #5E8C22
triadic
#8C8522 #228C85 #85228C
tetradic
#8C8522 #228C50 #22298C #8C225E
square
#8C8522 #228C50 #22298C #8C225E
split-complementary
#8C8522 #225E8C #50228C
monochromatic
#2A270A #5B5616 #8C8522 #BDB42E #D5CD53

Accessibility & contrast

On white

3.82
#8C8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8C8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8522
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8522#FFFFFF#000000##000000
##8C85221.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#948429
Tritanopia (blue-blind)
#977C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8c8522;
/* rgb */ color: rgb(140, 133, 34);
/* oklch */ color: oklch(60.5% 0.116 105.2);
Tailwind
colors: {
  custom: {
    50: '#b1a865',
    500: '#8c8522',
    950: '#000000',
  },
}
SCSS
$custom: #8c8522;
$custom-light: #b1a865;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8522",
  "rgb": {
    "r": 140,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 56.038,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.6048,
    "c": 0.11592,
    "h": 105.2
  },
  "luminance": 0.22466
}

Semantic roles & 50–950 ramp

primary
#8C8522
secondary
#5158B9
accent
#4EE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C8522

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

Preview Lab → · Contrast checker → · Palette generator →

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