#8D8A1C#8D8A1C

#8D8A1C 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#8D8A1C
RGBrgb(141, 138, 28)
HSLhsl(58, 67%, 33%)
HSVhsv(58, 80%, 55%)
CMYKcmyk(0%, 2.1%, 80.1%, 44.7%)
CIE-LABlab(56.01, -11.60, 54.26)
CIE-LCHlch(56.01, 55.49, 102.07°)
OKLaboklab(61.68% -0.0381 0.118)
OKLCHoklch(61.68% 0.124 107.9)
XYZxyz(20.2834, 23.9242, 4.6478)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A1C #1C1F8D
analogous
#8D511C #8D8A1C #578D1C
triadic
#8D8A1C #1C8D8A #8A1C8D
tetradic
#8D8A1C #1C8D51 #1C1F8D #8D1C57
square
#8D8A1C #1C8D51 #1C1F8D #8D1C57
split-complementary
#8D8A1C #1C578D #511C8D
monochromatic
#272608 #5A5812 #8D8A1C #C0BC26 #DBD749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8A1C#FFFFFF#000000##000000
##8D8A1C1.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)
#988826
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a1c;
/* rgb */ color: rgb(141, 138, 28);
/* oklch */ color: oklch(61.7% 0.124 107.9);
Tailwind
colors: {
  custom: {
    50: '#b2ab63',
    500: '#8d8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a1c;
$custom-light: #b2ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a1c",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 58.407,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61682,
    "c": 0.12394,
    "h": 107.9
  },
  "luminance": 0.23924
}

Semantic roles & 50–950 ramp

primary
#8D8A1C
secondary
#484BBD
accent
#43EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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