#8C8022#8C8022

#8C8022 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.111 H 101.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8C8022
RGBrgb(140, 128, 34)
HSLhsl(53, 61%, 34%)
HSVhsv(53, 76%, 55%)
CMYKcmyk(0%, 8.6%, 75.7%, 45.1%)
CIE-LABlab(53.09, -6.36, 49.47)
CIE-LCHlch(53.09, 49.87, 97.33°)
OKLaboklab(59.35% -0.0227 0.109)
OKLCHoklch(59.35% 0.111 101.8)
XYZxyz(18.8240, 21.1301, 4.6001)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8022 #222E8C
analogous
#8C4B22 #8C8022 #638C22
triadic
#8C8022 #228C80 #80228C
tetradic
#8C8022 #228C4B #222E8C #8C2263
square
#8C8022 #228C4B #222E8C #8C2263
split-complementary
#8C8022 #22638C #4B228C
monochromatic
#2A260A #5B5316 #8C8022 #BDAD2E #D5C753

Accessibility & contrast

On white

4.02
#8C8022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8C8022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8022
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8022#FFFFFF#000000##000000
##8C80221.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C11
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#97766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c8022;
/* rgb */ color: rgb(140, 128, 34);
/* oklch */ color: oklch(59.3% 0.111 101.8);
Tailwind
colors: {
  custom: {
    50: '#b1a464',
    500: '#8c8022',
    950: '#000000',
  },
}
SCSS
$custom: #8c8022;
$custom-light: #b1a464;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8022",
  "rgb": {
    "r": 140,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 53.208,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.11132,
    "h": 101.8
  },
  "luminance": 0.21129
}

Semantic roles & 50–950 ramp

primary
#8C8022
secondary
#515DB9
accent
#56E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C8022

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

Preview Lab → · Contrast checker → · Palette generator →

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