#8D8123#8D8123

#8D8123 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.7% C 0.112 H 101.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8D8123
RGBrgb(141, 129, 35)
HSLhsl(53, 60%, 35%)
HSVhsv(53, 75%, 55%)
CMYKcmyk(0%, 8.5%, 75.2%, 44.7%)
CIE-LABlab(53.48, -6.40, 49.49)
CIE-LCHlch(53.48, 49.90, 97.37°)
OKLaboklab(59.68% -0.0228 0.1092)
OKLCHoklch(59.68% 0.112 101.8)
XYZxyz(19.1390, 21.4854, 4.7288)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8123 #232F8D
analogous
#8D4C23 #8D8123 #648D23
triadic
#8D8123 #238D81 #81238D
tetradic
#8D8123 #238D4C #232F8D #8D2364
square
#8D8123 #238D4C #232F8D #8D2364
split-complementary
#8D8123 #23648D #4C238D
monochromatic
#2B270B #5C5417 #8D8123 #BEAE2F #D5C655

Accessibility & contrast

On white

3.96
#8D8123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8D8123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8123
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8123#FFFFFF#000000##000000
##8D81231.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D12
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#98776F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8123;
/* rgb */ color: rgb(141, 129, 35);
/* oklch */ color: oklch(59.7% 0.112 101.8);
Tailwind
colors: {
  custom: {
    50: '#b2a565',
    500: '#8d8123',
    950: '#000000',
  },
}
SCSS
$custom: #8d8123;
$custom-light: #b2a565;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8123",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 53.208,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.11153,
    "h": 101.8
  },
  "luminance": 0.21485
}

Semantic roles & 50–950 ramp

primary
#8D8123
secondary
#535EB9
accent
#56E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8123

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

Preview Lab → · Contrast checker → · Palette generator →

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