#8D8623#8D8623

#8D8623 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.116 H 105.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8D8623
RGBrgb(141, 134, 35)
HSLhsl(56, 60%, 35%)
HSVhsv(56, 75%, 55%)
CMYKcmyk(0%, 5%, 75.2%, 44.7%)
CIE-LABlab(54.90, -9.14, 50.85)
CIE-LCHlch(54.90, 51.66, 100.19°)
OKLaboklab(60.81% -0.0305 0.1121)
OKLCHoklch(60.81% 0.116 105.2)
XYZxyz(19.8138, 22.8350, 4.9537)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8623 #232A8D
analogous
#8D5123 #8D8623 #5F8D23
triadic
#8D8623 #238D86 #86238D
tetradic
#8D8623 #238D51 #232A8D #8D235F
square
#8D8623 #238D51 #232A8D #8D235F
split-complementary
#8D8623 #235F8D #51238D
monochromatic
#2B290B #5C5717 #8D8623 #BEB52F #D5CD55

Accessibility & contrast

On white

3.77
#8D8623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8D8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8623
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8623#FFFFFF#000000##000000
##8D86231.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#95852A
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8623;
/* rgb */ color: rgb(141, 134, 35);
/* oklch */ color: oklch(60.8% 0.116 105.2);
Tailwind
colors: {
  custom: {
    50: '#b2a866',
    500: '#8d8623',
    950: '#000000',
  },
}
SCSS
$custom: #8d8623;
$custom-light: #b2a866;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8623",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 56.038,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60809,
    "c": 0.11614,
    "h": 105.2
  },
  "luminance": 0.22834
}

Semantic roles & 50–950 ramp

primary
#8D8623
secondary
#535AB9
accent
#4FE344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8623

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

Preview Lab → · Contrast checker → · Palette generator →

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