#8F9F1D#8F9F1D

#8F9F1D is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.7% C 0.145 H 116.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8F9F1D
RGBrgb(143, 159, 29)
HSLhsl(67, 69%, 37%)
HSVhsv(67, 82%, 62%)
CMYKcmyk(10.1%, 0%, 81.8%, 37.6%)
CIE-LABlab(62.27, -21.59, 59.57)
CIE-LCHlch(62.27, 63.36, 109.92°)
OKLaboklab(66.74% -0.0657 0.1294)
OKLCHoklch(66.74% 0.145 116.9)
XYZxyz(23.9482, 30.7249, 5.8311)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F1D #2D1D9F
analogous
#9F6E1D #8F9F1D #4E9F1D
triadic
#8F9F1D #1D8F9F #9F1D8F
tetradic
#8F9F1D #1D9F6E #2D1D9F #9F1D4E
square
#8F9F1D #1D9F6E #2D1D9F #9F1D4E
split-complementary
#8F9F1D #1D4E9F #6E1D9F
monochromatic
#32370A #606B14 #8F9F1D #BED326 #CFE056

Accessibility & contrast

On white

2.94
#8F9F1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8F9F1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9F1D
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9F1D#FFFFFF#000000##000000
##8F9F1D1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#989688
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f9f1d;
/* rgb */ color: rgb(143, 159, 29);
/* oklch */ color: oklch(66.7% 0.145 116.9);
Tailwind
colors: {
  custom: {
    50: '#b3bb66',
    500: '#8f9f1d',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f1d;
$custom-light: #b3bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f1d",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 67.385,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66741,
    "c": 0.14515,
    "h": 116.9
  },
  "luminance": 0.30725
}

Semantic roles & 50–950 ramp

primary
#8F9F1D
secondary
#6254C4
accent
#3CEC52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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