#8D8A23#8D8A23

#8D8A23 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.120 H 107.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8D8A23
RGBrgb(141, 138, 35)
HSLhsl(58, 60%, 35%)
HSVhsv(58, 75%, 55%)
CMYKcmyk(0%, 2.1%, 75.2%, 44.7%)
CIE-LABlab(56.05, -11.31, 51.93)
CIE-LCHlch(56.05, 53.15, 102.28°)
OKLaboklab(61.72% -0.0366 0.1144)
OKLCHoklch(61.72% 0.12 107.7)
XYZxyz(20.3771, 23.9617, 5.1415)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A23 #23268D
analogous
#8D5523 #8D8A23 #5B8D23
triadic
#8D8A23 #238D8A #8A238D
tetradic
#8D8A23 #238D55 #23268D #8D235B
square
#8D8A23 #238D55 #23268D #8D235B
split-complementary
#8D8A23 #235B8D #55238D
monochromatic
#2B2A0B #5C5A17 #8D8A23 #BEBA2F #D5D155

Accessibility & contrast

On white

3.63
#8D8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8D8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A23
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A23#FFFFFF#000000##000000
##8D8A231.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840E
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#988176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a23;
/* rgb */ color: rgb(141, 138, 35);
/* oklch */ color: oklch(61.7% 0.120 107.7);
Tailwind
colors: {
  custom: {
    50: '#b2ab66',
    500: '#8d8a23',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a23;
$custom-light: #b2ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a23",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 58.302,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.12006,
    "h": 107.7
  },
  "luminance": 0.23961
}

Semantic roles & 50–950 ramp

primary
#8D8A23
secondary
#5356B9
accent
#49E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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