#8F9D27#8F9D27

#8F9D27 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.3% C 0.138 H 116.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8F9D27
RGBrgb(143, 157, 39)
HSLhsl(67, 60%, 38%)
HSVhsv(67, 75%, 62%)
CMYKcmyk(8.9%, 0%, 75.2%, 38.4%)
CIE-LABlab(61.74, -20.15, 55.96)
CIE-LCHlch(61.74, 59.48, 109.81°)
OKLaboklab(66.33% -0.061 0.1235)
OKLCHoklch(66.33% 0.138 116.3)
XYZxyz(23.7515, 30.1004, 6.4778)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D27 #35279D
analogous
#9D7027 #8F9D27 #549D27
triadic
#8F9D27 #278F9D #9D278F
tetradic
#8F9D27 #279D70 #35279D #9D2754
square
#8F9D27 #279D70 #35279D #9D2754
split-complementary
#8F9D27 #27549D #70279D
monochromatic
#363B0F #626C1B #8F9D27 #BBCD35 #CBD966

Accessibility & contrast

On white

2.99
#8F9D27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#8F9D27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9D27
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9D27#FFFFFF#000000##000000
##8F9D271.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8950D
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#989487
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d27;
/* rgb */ color: rgb(143, 157, 39);
/* oklch */ color: oklch(66.3% 0.138 116.3);
Tailwind
colors: {
  custom: {
    50: '#b3b96a',
    500: '#8f9d27',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d27;
$custom-light: #b3b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d27",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 67.119,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.13777,
    "h": 116.3
  },
  "luminance": 0.301
}

Semantic roles & 50–950 ramp

primary
#8F9D27
secondary
#6C61BF
accent
#44E357
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9D27

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

Preview Lab → · Contrast checker → · Palette generator →

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