#8D901C#8D901C

#8D901C is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.1% C 0.130 H 111.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8D901C
RGBrgb(141, 144, 28)
HSLhsl(62, 67%, 34%)
HSVhsv(62, 81%, 56%)
CMYKcmyk(2.1%, 0%, 80.6%, 43.5%)
CIE-LABlab(57.75, -14.79, 55.80)
CIE-LCHlch(57.75, 57.73, 104.85°)
OKLaboklab(63.07% -0.0469 0.1213)
OKLCHoklch(63.07% 0.13 111.2)
XYZxyz(21.1681, 25.6937, 4.9427)
Luminance0.2569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D901C #1F1C90
analogous
#90591C #8D901C #53901C
triadic
#8D901C #1C8D90 #901C8D
tetradic
#8D901C #1C9059 #1F1C90 #901C53
square
#8D901C #1C9059 #1F1C90 #901C53
split-complementary
#8D901C #1C5390 #591C90
monochromatic
#292A08 #5B5D12 #8D901C #BFC326 #D8DC4A

Accessibility & contrast

On white

3.42
#8D901C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#8D901C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D901C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D901C#FFFFFF#000000##000000
##8D901C1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9D8C27
Tritanopia (blue-blind)
#97877B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d901c;
/* rgb */ color: rgb(141, 144, 28);
/* oklch */ color: oklch(63.1% 0.130 111.2);
Tailwind
colors: {
  custom: {
    50: '#b2b064',
    500: '#8d901c',
    950: '#000000',
  },
}
SCSS
$custom: #8d901c;
$custom-light: #b2b064;
$custom-dark: #000000;
JSON
{
  "hex": "#8d901c",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 61.552,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.63067,
    "c": 0.13002,
    "h": 111.2
  },
  "luminance": 0.25693
}

Semantic roles & 50–950 ramp

primary
#8D901C
secondary
#4D4ABE
accent
#3DEA42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D901C

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

Preview Lab → · Contrast checker → · Palette generator →

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