#8F9D1C#8F9D1C

#8F9D1C is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.3% C 0.143 H 116.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8F9D1C
RGBrgb(143, 157, 28)
HSLhsl(67, 70%, 36%)
HSVhsv(67, 82%, 62%)
CMYKcmyk(8.9%, 0%, 82.2%, 38.4%)
CIE-LABlab(61.69, -20.62, 59.33)
CIE-LCHlch(61.69, 62.81, 109.16°)
OKLaboklab(66.27% -0.0631 0.1287)
OKLCHoklch(66.27% 0.143 116.1)
XYZxyz(23.5949, 30.0378, 5.6533)
Luminance0.3004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D1C #2A1C9D
analogous
#9D6B1C #8F9D1C #4F9D1C
triadic
#8F9D1C #1C8F9D #9D1C8F
tetradic
#8F9D1C #1C9D6B #2A1C9D #9D1C4F
square
#8F9D1C #1C9D6B #2A1C9D #9D1C4F
split-complementary
#8F9D1C #1C4F9D #6B1C9D
monochromatic
#303509 #606913 #8F9D1C #BED125 #D1E053

Accessibility & contrast

On white

3.00
#8F9D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#8F9D1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9D1C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9D1C#FFFFFF#000000##000000
##8F9D1C1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A79629
Tritanopia (blue-blind)
#999486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d1c;
/* rgb */ color: rgb(143, 157, 28);
/* oklch */ color: oklch(66.3% 0.143 116.1);
Tailwind
colors: {
  custom: {
    50: '#b3b966',
    500: '#8f9d1c',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d1c;
$custom-light: #b3b966;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d1c",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 66.512,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66267,
    "c": 0.14338,
    "h": 116.1
  },
  "luminance": 0.30037
}

Semantic roles & 50–950 ramp

primary
#8F9D1C
secondary
#5E51C3
accent
#3BED4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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