#8C8223#8C8223

#8C8223 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.112 H 103.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8C8223
RGBrgb(140, 130, 35)
HSLhsl(54, 60%, 34%)
HSVhsv(54, 75%, 55%)
CMYKcmyk(0%, 7.1%, 75%, 45.1%)
CIE-LABlab(53.67, -7.41, 49.64)
CIE-LCHlch(53.67, 50.19, 98.50°)
OKLaboklab(59.81% -0.0256 0.1095)
OKLCHoklch(59.81% 0.112 103.2)
XYZxyz(19.1021, 21.6629, 4.7649)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8223 #232D8C
analogous
#8C4E23 #8C8223 #628C23
triadic
#8C8223 #238C82 #82238C
tetradic
#8C8223 #238C4E #232D8C #8C2362
square
#8C8223 #238C4E #232D8C #8C2362
split-complementary
#8C8223 #23628C #4E238C
monochromatic
#2A270B #5B5517 #8C8223 #BDAF2F #D4C855

Accessibility & contrast

On white

3.94
#8C8223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8C8223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8223
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8223#FFFFFF#000000##000000
##8C82231.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E12
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#977970
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8c8223;
/* rgb */ color: rgb(140, 130, 35);
/* oklch */ color: oklch(59.8% 0.112 103.2);
Tailwind
colors: {
  custom: {
    50: '#b1a665',
    500: '#8c8223',
    950: '#000000',
  },
}
SCSS
$custom: #8c8223;
$custom-light: #b1a665;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8223",
  "rgb": {
    "r": 140,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 54.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59805,
    "c": 0.11247,
    "h": 103.2
  },
  "luminance": 0.21662
}

Semantic roles & 50–950 ramp

primary
#8C8223
secondary
#525CB8
accent
#54E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C8223

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

Preview Lab → · Contrast checker → · Palette generator →

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