#8D9015#8D9015

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

Color values

HEX#8D9015
RGBrgb(141, 144, 21)
HSLhsl(61, 75%, 32%)
HSVhsv(61, 85%, 56%)
CMYKcmyk(2.1%, 0%, 85.4%, 43.5%)
CIE-LABlab(57.72, -15.02, 57.69)
CIE-LCHlch(57.72, 59.61, 104.60°)
OKLaboklab(63.04% -0.0481 0.124)
OKLCHoklch(63.04% 0.133 111.2)
XYZxyz(21.0939, 25.6640, 4.5518)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9015 #181590
analogous
#905515 #8D9015 #509015
triadic
#8D9015 #158D90 #90158D
tetradic
#8D9015 #159055 #181590 #901550
square
#8D9015 #159055 #181590 #901550
split-complementary
#8D9015 #155090 #551590
monochromatic
#242505 #595B0D #8D9015 #C1C51D #DFE33D

Accessibility & contrast

On white

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

On black

6.13
#8D9015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9015
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9015#FFFFFF#000000##000000
##8D90151.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d9015;
/* rgb */ color: rgb(141, 144, 21);
/* oklch */ color: oklch(63.0% 0.133 111.2);
Tailwind
colors: {
  custom: {
    50: '#b2b061',
    500: '#8d9015',
    950: '#000000',
  },
}
SCSS
$custom: #8d9015;
$custom-light: #b2b061;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9015",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 61.463,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.63035,
    "c": 0.13303,
    "h": 111.2
  },
  "luminance": 0.25663
}

Semantic roles & 50–950 ramp

primary
#8D9015
secondary
#423EC2
accent
#37F13B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D9015

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

Preview Lab → · Contrast checker → · Palette generator →

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