#8C8235#8C8235

#8C8235 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.099 H 101.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8C8235
RGBrgb(140, 130, 53)
HSLhsl(53, 45%, 38%)
HSVhsv(53, 62%, 55%)
CMYKcmyk(0%, 7.1%, 62.1%, 45.1%)
CIE-LABlab(53.81, -6.32, 42.00)
CIE-LCHlch(53.81, 42.47, 98.55°)
OKLaboklab(59.97% -0.0204 0.0965)
OKLCHoklch(59.97% 0.099 101.9)
XYZxyz(19.4412, 21.7985, 6.5509)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8235 #353F8C
analogous
#8C5635 #8C8235 #6B8C35
triadic
#8C8235 #358C82 #82358C
tetradic
#8C8235 #358C56 #353F8C #8C356B
square
#8C8235 #358C56 #353F8C #8C356B
split-complementary
#8C8235 #356B8C #56358C
monochromatic
#333013 #605924 #8C8235 #B8AB46 #CABF72

Accessibility & contrast

On white

3.92
#8C8235 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8C8235 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8235
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8235#FFFFFF#000000##000000
##8C82351.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2C
Deuteranopia (green-blind)
#908339
Tritanopia (blue-blind)
#967971
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8c8235;
/* rgb */ color: rgb(140, 130, 53);
/* oklch */ color: oklch(60.0% 0.099 101.9);
Tailwind
colors: {
  custom: {
    50: '#b0a670',
    500: '#8c8235',
    950: '#000000',
  },
}
SCSS
$custom: #8c8235;
$custom-light: #b0a670;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8235",
  "rgb": {
    "r": 140,
    "g": 130,
    "b": 53
  },
  "hsl": {
    "h": 53.103,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.0986,
    "h": 101.9
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#8C8235
secondary
#6B73B2
accent
#62D553
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8C8235

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

Preview Lab → · Contrast checker → · Palette generator →

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