#8C8D30#8C8D30

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

Color values

HEX#8C8D30
RGBrgb(140, 141, 48)
HSLhsl(61, 49%, 37%)
HSVhsv(61, 66%, 55%)
CMYKcmyk(0.7%, 0%, 66%, 44.7%)
CIE-LABlab(56.92, -12.64, 47.59)
CIE-LCHlch(56.92, 49.24, 104.87°)
OKLaboklab(62.43% -0.0389 0.1076)
OKLCHoklch(62.43% 0.114 109.9)
XYZxyz(20.8743, 24.8392, 6.4906)
Luminance0.2484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8D30 #31308D
analogous
#8D6030 #8C8D30 #5E8D30
triadic
#8C8D30 #308C8D #8D308C
tetradic
#8C8D30 #308D60 #31308D #8D305E
square
#8C8D30 #308D60 #31308D #8D305E
split-complementary
#8C8D30 #305E8D #60308D
monochromatic
#313211 #5F5F20 #8C8D30 #B9BB40 #CCCD6B

Accessibility & contrast

On white

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

On black

5.97
#8C8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8D30
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8D30#FFFFFF#000000##000000
##8C8D301.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988724
Deuteranopia (green-blind)
#998A36
Tritanopia (blue-blind)
#96847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8c8d30;
/* rgb */ color: rgb(140, 141, 48);
/* oklch */ color: oklch(62.4% 0.114 109.9);
Tailwind
colors: {
  custom: {
    50: '#b0ae6d',
    500: '#8c8d30',
    950: '#000000',
  },
}
SCSS
$custom: #8c8d30;
$custom-light: #b0ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8d30",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 60.645,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62425,
    "c": 0.11438,
    "h": 109.9
  },
  "luminance": 0.24839
}

Semantic roles & 50–950 ramp

primary
#8C8D30
secondary
#6665B4
accent
#4FD951
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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