#8C8B2F#8C8B2F

#8C8B2F is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.113 H 108.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8C8B2F
RGBrgb(140, 139, 47)
HSLhsl(59, 50%, 37%)
HSVhsv(59, 66%, 55%)
CMYKcmyk(0%, 0.7%, 66.4%, 45.1%)
CIE-LABlab(56.33, -11.63, 47.42)
CIE-LCHlch(56.33, 48.82, 103.78°)
OKLaboklab(61.96% -0.0362 0.107)
OKLCHoklch(61.96% 0.113 108.7)
XYZxyz(20.5616, 24.2465, 6.2857)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8B2F #2F308C
analogous
#8C5D2F #8C8B2F #5F8C2F
triadic
#8C8B2F #2F8C8B #8B2F8C
tetradic
#8C8B2F #2F8C5D #2F308C #8C2F5F
square
#8C8B2F #2F8C5D #2F308C #8C2F5F
split-complementary
#8C8B2F #2F5F8C #5D2F8C
monochromatic
#303010 #5E5E20 #8C8B2F #BAB83E #CDCC69

Accessibility & contrast

On white

3.59
#8C8B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8C8B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8B2F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8B2F#FFFFFF#000000##000000
##8C8B2F1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968523
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#968278
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8c8b2f;
/* rgb */ color: rgb(140, 139, 47);
/* oklch */ color: oklch(62.0% 0.113 108.7);
Tailwind
colors: {
  custom: {
    50: '#b0ac6d',
    500: '#8c8b2f',
    950: '#000000',
  },
}
SCSS
$custom: #8c8b2f;
$custom-light: #b0ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8b2f",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 59.355,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61956,
    "c": 0.11296,
    "h": 108.7
  },
  "luminance": 0.24246
}

Semantic roles & 50–950 ramp

primary
#8C8B2F
secondary
#6364B4
accent
#50D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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