#8C8A33#8C8A33

#8C8A33 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.109 H 107.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8C8A33
RGBrgb(140, 138, 51)
HSLhsl(59, 47%, 37%)
HSVhsv(59, 64%, 55%)
CMYKcmyk(0%, 1.4%, 63.6%, 45.1%)
CIE-LABlab(56.08, -10.83, 45.39)
CIE-LCHlch(56.08, 46.66, 103.42°)
OKLaboklab(61.76% -0.0335 0.1034)
OKLCHoklch(61.76% 0.109 107.9)
XYZxyz(20.5019, 23.9920, 6.6823)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A33 #33358C
analogous
#8C5E33 #8C8A33 #618C33
triadic
#8C8A33 #338C8A #8A338C
tetradic
#8C8A33 #338C5E #33358C #8C3361
square
#8C8A33 #338C5E #33358C #8C3361
split-complementary
#8C8A33 #33618C #5E338C
monochromatic
#323212 #5F5E23 #8C8A33 #B9B643 #CBC86F

Accessibility & contrast

On white

3.62
#8C8A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8C8A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A33
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A33#FFFFFF#000000##000000
##8C8A331.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958528
Deuteranopia (green-blind)
#978838
Tritanopia (blue-blind)
#968178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8c8a33;
/* rgb */ color: rgb(140, 138, 51);
/* oklch */ color: oklch(61.8% 0.109 107.9);
Tailwind
colors: {
  custom: {
    50: '#b0ab6f',
    500: '#8c8a33',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a33;
$custom-light: #b0ab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a33",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 58.652,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.10864,
    "h": 107.9
  },
  "luminance": 0.23991
}

Semantic roles & 50–950 ramp

primary
#8C8A33
secondary
#686AB2
accent
#55D652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8A33

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

Preview Lab → · Contrast checker → · Palette generator →

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