#8C8D2B#8C8D2B

#8C8D2B is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.118 H 110.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8C8D2B
RGBrgb(140, 141, 43)
HSLhsl(61, 53%, 36%)
HSVhsv(61, 70%, 55%)
CMYKcmyk(0.7%, 0%, 69.5%, 44.7%)
CIE-LABlab(56.88, -12.94, 49.64)
CIE-LCHlch(56.88, 51.30, 104.61°)
OKLaboklab(62.38% -0.0403 0.111)
OKLCHoklch(62.38% 0.118 110)
XYZxyz(20.7768, 24.8002, 5.9775)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8D2B #2C2B8D
analogous
#8D5D2B #8C8D2B #5B8D2B
triadic
#8C8D2B #2B8C8D #8D2B8C
tetradic
#8C8D2B #2B8D5D #2C2B8D #8D2B5B
square
#8C8D2B #2B8D5D #2C2B8D #8D2B5B
split-complementary
#8C8D2B #2B5B8D #5D2B8D
monochromatic
#2F2F0E #5D5E1D #8C8D2B #BBBC39 #CECF63

Accessibility & contrast

On white

3.52
#8C8D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8C8D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8D2B
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8D2B#FFFFFF#000000##000000
##8C8D2B1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871C
Deuteranopia (green-blind)
#998A32
Tritanopia (blue-blind)
#968479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8c8d2b;
/* rgb */ color: rgb(140, 141, 43);
/* oklch */ color: oklch(62.4% 0.118 110.0);
Tailwind
colors: {
  custom: {
    50: '#b0ae6b',
    500: '#8c8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #8c8d2b;
$custom-light: #b0ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8d2b",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 60.612,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62383,
    "c": 0.11811,
    "h": 110
  },
  "luminance": 0.248
}

Semantic roles & 50–950 ramp

primary
#8C8D2B
secondary
#5F5EB6
accent
#4BDD4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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