#8C8123#8C8123

#8C8123 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.112 H 102.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8C8123
RGBrgb(140, 129, 35)
HSLhsl(54, 60%, 34%)
HSVhsv(54, 75%, 55%)
CMYKcmyk(0%, 7.9%, 75%, 45.1%)
CIE-LABlab(53.38, -6.86, 49.36)
CIE-LCHlch(53.38, 49.84, 97.92°)
OKLaboklab(59.58% -0.0241 0.109)
OKLCHoklch(59.58% 0.112 102.5)
XYZxyz(18.9697, 21.3981, 4.7208)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8123 #232E8C
analogous
#8C4D23 #8C8123 #638C23
triadic
#8C8123 #238C81 #81238C
tetradic
#8C8123 #238C4D #232E8C #8C2363
square
#8C8123 #238C4D #232E8C #8C2363
split-complementary
#8C8123 #23638C #4D238C
monochromatic
#2A270B #5B5417 #8C8123 #BDAE2F #D4C755

Accessibility & contrast

On white

3.98
#8C8123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8C8123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8123
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8123#FFFFFF#000000##000000
##8C81231.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D12
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#97786F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c8123;
/* rgb */ color: rgb(140, 129, 35);
/* oklch */ color: oklch(59.6% 0.112 102.5);
Tailwind
colors: {
  custom: {
    50: '#b1a565',
    500: '#8c8123',
    950: '#000000',
  },
}
SCSS
$custom: #8c8123;
$custom-light: #b1a565;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8123",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 53.714,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59578,
    "c": 0.11158,
    "h": 102.5
  },
  "luminance": 0.21397
}

Semantic roles & 50–950 ramp

primary
#8C8123
secondary
#525DB8
accent
#55E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C8123

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

Preview Lab → · Contrast checker → · Palette generator →

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