#8D8A1B#8D8A1B

#8D8A1B is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.124 H 107.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8D8A1B
RGBrgb(141, 138, 27)
HSLhsl(58, 68%, 33%)
HSVhsv(58, 81%, 55%)
CMYKcmyk(0%, 2.1%, 80.9%, 44.7%)
CIE-LABlab(56.01, -11.64, 54.57)
CIE-LCHlch(56.01, 55.79, 102.04°)
OKLaboklab(61.68% -0.0383 0.1184)
OKLCHoklch(61.68% 0.124 107.9)
XYZxyz(20.2716, 23.9195, 4.5858)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A1B #1B1E8D
analogous
#8D511B #8D8A1B #578D1B
triadic
#8D8A1B #1B8D8A #8A1B8D
tetradic
#8D8A1B #1B8D51 #1B1E8D #8D1B57
square
#8D8A1B #1B8D51 #1B1E8D #8D1B57
split-complementary
#8D8A1B #1B578D #511B8D
monochromatic
#262507 #5A5811 #8D8A1B #C0BC25 #DCD847

Accessibility & contrast

On white

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

On black

5.78
#8D8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A1B
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A1B#FFFFFF#000000##000000
##8D8A1B1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a1b;
/* rgb */ color: rgb(141, 138, 27);
/* oklch */ color: oklch(61.7% 0.124 107.9);
Tailwind
colors: {
  custom: {
    50: '#b2ab63',
    500: '#8d8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a1b;
$custom-light: #b2ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a1b",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 58.421,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61676,
    "c": 0.12444,
    "h": 107.9
  },
  "luminance": 0.23919
}

Semantic roles & 50–950 ramp

primary
#8D8A1B
secondary
#464ABD
accent
#42EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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