#8E8523#8E8523

#8E8523 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.7% C 0.115 H 104.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8E8523
RGBrgb(142, 133, 35)
HSLhsl(55, 60%, 35%)
HSVhsv(55, 75%, 56%)
CMYKcmyk(0%, 6.3%, 75.4%, 44.3%)
CIE-LABlab(54.71, -8.14, 50.69)
CIE-LCHlch(54.71, 51.34, 99.12°)
OKLaboklab(60.68% -0.0278 0.1117)
OKLCHoklch(60.68% 0.115 104)
XYZxyz(19.8471, 22.6480, 4.9158)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8523 #232C8E
analogous
#8E4F23 #8E8523 #628E23
triadic
#8E8523 #238E85 #85238E
tetradic
#8E8523 #238E4F #232C8E #8E2362
square
#8E8523 #238E4F #232C8E #8E2362
split-complementary
#8E8523 #23628E #4F238E
monochromatic
#2C290B #5D5717 #8E8523 #BFB32F #D5CB56

Accessibility & contrast

On white

3.80
#8E8523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8E8523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8523
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8523#FFFFFF#000000##000000
##8E85231.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918010
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#997B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e8523;
/* rgb */ color: rgb(142, 133, 35);
/* oklch */ color: oklch(60.7% 0.115 104.0);
Tailwind
colors: {
  custom: {
    50: '#b2a866',
    500: '#8e8523',
    950: '#000000',
  },
}
SCSS
$custom: #8e8523;
$custom-light: #b2a866;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8523",
  "rgb": {
    "r": 142,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 54.953,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60677,
    "c": 0.11509,
    "h": 104
  },
  "luminance": 0.22647
}

Semantic roles & 50–950 ramp

primary
#8E8523
secondary
#535CB9
accent
#52E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8523

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

Preview Lab → · Contrast checker → · Palette generator →

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