#8D8723#8D8723

#8D8723 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.117 H 105.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8D8723
RGBrgb(141, 135, 35)
HSLhsl(57, 60%, 35%)
HSVhsv(57, 75%, 55%)
CMYKcmyk(0%, 4.3%, 75.2%, 44.7%)
CIE-LABlab(55.19, -9.69, 51.12)
CIE-LCHlch(55.19, 52.03, 100.73°)
OKLaboklab(61.04% -0.0321 0.1126)
OKLCHoklch(61.04% 0.117 105.9)
XYZxyz(19.9527, 23.1128, 5.0000)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8723 #23298D
analogous
#8D5223 #8D8723 #5E8D23
triadic
#8D8723 #238D87 #87238D
tetradic
#8D8723 #238D52 #23298D #8D235E
square
#8D8723 #238D52 #23298D #8D235E
split-complementary
#8D8723 #235E8D #52238D
monochromatic
#2B290B #5C5817 #8D8723 #BEB62F #D5CE55

Accessibility & contrast

On white

3.74
#8D8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8D8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8723
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8723#FFFFFF#000000##000000
##8D87231.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938210
Deuteranopia (green-blind)
#95862A
Tritanopia (blue-blind)
#987E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8723;
/* rgb */ color: rgb(141, 135, 35);
/* oklch */ color: oklch(61.0% 0.117 105.9);
Tailwind
colors: {
  custom: {
    50: '#b2a966',
    500: '#8d8723',
    950: '#000000',
  },
}
SCSS
$custom: #8d8723;
$custom-light: #b2a966;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8723",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 56.604,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61037,
    "c": 0.1171,
    "h": 105.9
  },
  "luminance": 0.23112
}

Semantic roles & 50–950 ramp

primary
#8D8723
secondary
#5359B9
accent
#4DE344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8723

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

Preview Lab → · Contrast checker → · Palette generator →

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