#8C8A25#8C8A25

#8C8A25 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.119 H 108.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8C8A25
RGBrgb(140, 138, 37)
HSLhsl(59, 58%, 35%)
HSVhsv(59, 74%, 55%)
CMYKcmyk(0%, 1.4%, 73.6%, 45.1%)
CIE-LABlab(55.97, -11.66, 51.09)
CIE-LCHlch(55.97, 52.41, 102.86°)
OKLaboklab(61.65% -0.0373 0.113)
OKLCHoklch(61.65% 0.119 108.3)
XYZxyz(20.2384, 23.8866, 5.2944)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A25 #25278C
analogous
#8C5725 #8C8A25 #5B8C25
triadic
#8C8A25 #258C8A #8A258C
tetradic
#8C8A25 #258C57 #25278C #8C255B
square
#8C8A25 #258C57 #25278C #8C255B
split-complementary
#8C8A25 #255B8C #57258C
monochromatic
#2B2B0B #5C5A18 #8C8A25 #BCBA32 #D3D158

Accessibility & contrast

On white

3.63
#8C8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8C8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A25
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A25#FFFFFF#000000##000000
##8C8A251.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968412
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#968176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a25;
/* rgb */ color: rgb(140, 138, 37);
/* oklch */ color: oklch(61.6% 0.119 108.3);
Tailwind
colors: {
  custom: {
    50: '#b1ab67',
    500: '#8c8a25',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a25;
$custom-light: #b1ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a25",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 58.835,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61646,
    "c": 0.119,
    "h": 108.3
  },
  "luminance": 0.23886
}

Semantic roles & 50–950 ramp

primary
#8C8A25
secondary
#5557B8
accent
#49E146
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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