#8B8D23#8B8D23

#8B8D23 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.124 H 110.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8B8D23
RGBrgb(139, 141, 35)
HSLhsl(61, 60%, 35%)
HSVhsv(61, 75%, 55%)
CMYKcmyk(1.4%, 0%, 75.2%, 44.7%)
CIE-LABlab(56.74, -13.81, 52.53)
CIE-LCHlch(56.74, 54.31, 104.73°)
OKLaboklab(62.24% -0.0435 0.1157)
OKLCHoklch(62.24% 0.124 110.6)
XYZxyz(20.4764, 24.6606, 5.2711)
Luminance0.2466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8D23 #25238D
analogous
#8D5A23 #8B8D23 #568D23
triadic
#8B8D23 #238B8D #8D238B
tetradic
#8B8D23 #238D5A #25238D #8D2356
square
#8B8D23 #238D5A #25238D #8D2356
split-complementary
#8B8D23 #23568D #5A238D
monochromatic
#2A2B0B #5B5C17 #8B8D23 #BBBE2F #D3D555

Accessibility & contrast

On white

3.54
#8B8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8B8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8D23
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8D23#FFFFFF#000000##000000
##8B8D231.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98870D
Deuteranopia (green-blind)
#998A2C
Tritanopia (blue-blind)
#958479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8b8d23;
/* rgb */ color: rgb(139, 141, 35);
/* oklch */ color: oklch(62.2% 0.124 110.6);
Tailwind
colors: {
  custom: {
    50: '#b0ae67',
    500: '#8b8d23',
    950: '#000000',
  },
}
SCSS
$custom: #8b8d23;
$custom-light: #b0ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8d23",
  "rgb": {
    "r": 139,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 61.132,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62236,
    "c": 0.12359,
    "h": 110.6
  },
  "luminance": 0.2466
}

Semantic roles & 50–950 ramp

primary
#8B8D23
secondary
#5553B9
accent
#44E347
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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