#8C8D22#8C8D22

#8C8D22 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.124 H 110.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8C8D22
RGBrgb(140, 141, 34)
HSLhsl(61, 61%, 34%)
HSVhsv(61, 76%, 55%)
CMYKcmyk(0.7%, 0%, 75.9%, 44.7%)
CIE-LABlab(56.82, -13.41, 52.98)
CIE-LCHlch(56.82, 54.65, 104.20°)
OKLaboklab(62.32% -0.0425 0.1164)
OKLCHoklch(62.32% 0.124 110.1)
XYZxyz(20.6296, 24.7413, 5.2019)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8D22 #23228D
analogous
#8D5922 #8C8D22 #578D22
triadic
#8C8D22 #228C8D #8D228C
tetradic
#8C8D22 #228D59 #23228D #8D2257
square
#8C8D22 #228D59 #23228D #8D2257
split-complementary
#8C8D22 #22578D #59228D
monochromatic
#2A2A0A #5B5C16 #8C8D22 #BDBE2E #D4D654

Accessibility & contrast

On white

3.53
#8C8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8C8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8D22
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8D22#FFFFFF#000000##000000
##8C8D221.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#968479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8c8d22;
/* rgb */ color: rgb(140, 141, 34);
/* oklch */ color: oklch(62.3% 0.124 110.1);
Tailwind
colors: {
  custom: {
    50: '#b1ae66',
    500: '#8c8d22',
    950: '#000000',
  },
}
SCSS
$custom: #8c8d22;
$custom-light: #b1ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8d22",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 60.561,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62318,
    "c": 0.12395,
    "h": 110.1
  },
  "luminance": 0.24741
}

Semantic roles & 50–950 ramp

primary
#8C8D22
secondary
#5251B9
accent
#44E445
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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