#8D8923#8D8923

#8D8923 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.119 H 107.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8D8923
RGBrgb(141, 137, 35)
HSLhsl(58, 60%, 35%)
HSVhsv(58, 75%, 55%)
CMYKcmyk(0%, 2.8%, 75.2%, 44.7%)
CIE-LABlab(55.76, -10.77, 51.66)
CIE-LCHlch(55.76, 52.77, 101.77°)
OKLaboklab(61.49% -0.0351 0.1138)
OKLCHoklch(61.49% 0.119 107.1)
XYZxyz(20.2343, 23.6761, 5.0939)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8923 #23278D
analogous
#8D5423 #8D8923 #5C8D23
triadic
#8D8923 #238D89 #89238D
tetradic
#8D8923 #238D54 #23278D #8D235C
square
#8D8923 #238D54 #23278D #8D235C
split-complementary
#8D8923 #235C8D #54238D
monochromatic
#2B2A0B #5C5917 #8D8923 #BEB92F #D5D055

Accessibility & contrast

On white

3.66
#8D8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8D8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8923
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8923#FFFFFF#000000##000000
##8D89231.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840F
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#988075
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8923;
/* rgb */ color: rgb(141, 137, 35);
/* oklch */ color: oklch(61.5% 0.119 107.1);
Tailwind
colors: {
  custom: {
    50: '#b2ab66',
    500: '#8d8923',
    950: '#000000',
  },
}
SCSS
$custom: #8d8923;
$custom-light: #b2ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8923",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 57.736,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.11907,
    "h": 107.1
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#8D8923
secondary
#5357B9
accent
#4AE344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8923

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

Preview Lab → · Contrast checker → · Palette generator →

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