#8D8F23#8D8F23

#8D8F23 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.9% C 0.125 H 110.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D8F23
RGBrgb(141, 143, 35)
HSLhsl(61, 61%, 35%)
HSVhsv(61, 76%, 56%)
CMYKcmyk(1.4%, 0%, 75.5%, 43.9%)
CIE-LABlab(57.49, -13.97, 53.29)
CIE-LCHlch(57.49, 55.09, 104.69°)
OKLaboklab(62.88% -0.044 0.1172)
OKLCHoklch(62.88% 0.125 110.6)
XYZxyz(21.1111, 25.4296, 5.3861)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F23 #25238F
analogous
#8F5B23 #8D8F23 #578F23
triadic
#8D8F23 #238D8F #8F238D
tetradic
#8D8F23 #238F5B #25238F #8F2357
square
#8D8F23 #238F5B #25238F #8F2357
split-complementary
#8D8F23 #23578F #5B238F
monochromatic
#2C2D0B #5D5E17 #8D8F23 #BDC02F #D3D657

Accessibility & contrast

On white

3.45
#8D8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8D8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8F23
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8F23#FFFFFF#000000##000000
##8D8F231.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B880B
Deuteranopia (green-blind)
#9C8B2C
Tritanopia (blue-blind)
#97867A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8f23;
/* rgb */ color: rgb(141, 143, 35);
/* oklch */ color: oklch(62.9% 0.125 110.6);
Tailwind
colors: {
  custom: {
    50: '#b2af67',
    500: '#8d8f23',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f23;
$custom-light: #b2af67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f23",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 61.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62875,
    "c": 0.12523,
    "h": 110.6
  },
  "luminance": 0.25429
}

Semantic roles & 50–950 ramp

primary
#8D8F23
secondary
#5654BA
accent
#44E447
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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