#8D8B23#8D8B23

#8D8B23 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.121 H 108.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8D8B23
RGBrgb(141, 139, 35)
HSLhsl(59, 60%, 35%)
HSVhsv(59, 75%, 55%)
CMYKcmyk(0%, 1.4%, 75.2%, 44.7%)
CIE-LABlab(56.34, -11.84, 52.21)
CIE-LCHlch(56.34, 53.53, 102.78°)
OKLaboklab(61.95% -0.0381 0.1149)
OKLCHoklch(61.95% 0.121 108.3)
XYZxyz(20.5213, 24.2500, 5.1895)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8B23 #23258D
analogous
#8D5623 #8D8B23 #5A8D23
triadic
#8D8B23 #238D8B #8B238D
tetradic
#8D8B23 #238D56 #23258D #8D235A
square
#8D8B23 #238D56 #23258D #8D235A
split-complementary
#8D8B23 #235A8D #56238D
monochromatic
#2B2A0B #5C5B17 #8D8B23 #BEBB2F #D5D355

Accessibility & contrast

On white

3.59
#8D8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8D8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8B23
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8B23#FFFFFF#000000##000000
##8D8B231.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850E
Deuteranopia (green-blind)
#98892B
Tritanopia (blue-blind)
#978277
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8b23;
/* rgb */ color: rgb(141, 139, 35);
/* oklch */ color: oklch(62.0% 0.121 108.3);
Tailwind
colors: {
  custom: {
    50: '#b2ac66',
    500: '#8d8b23',
    950: '#000000',
  },
}
SCSS
$custom: #8d8b23;
$custom-light: #b2ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8b23",
  "rgb": {
    "r": 141,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 58.868,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.12108,
    "h": 108.3
  },
  "luminance": 0.24249
}

Semantic roles & 50–950 ramp

primary
#8D8B23
secondary
#5355B9
accent
#47E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8B23

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

Preview Lab → · Contrast checker → · Palette generator →

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