#8F9D23#8F9D23

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

Color values

HEX#8F9D23
RGBrgb(143, 157, 35)
HSLhsl(67, 64%, 38%)
HSVhsv(67, 78%, 62%)
CMYKcmyk(8.9%, 0%, 77.7%, 38.4%)
CIE-LABlab(61.72, -20.34, 57.27)
CIE-LCHlch(61.72, 60.78, 109.55°)
OKLaboklab(66.3% -0.0618 0.1256)
OKLCHoklch(66.3% 0.14 116.2)
XYZxyz(23.6887, 30.0753, 6.1470)
Luminance0.3008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D23 #31239D
analogous
#9D6E23 #8F9D23 #529D23
triadic
#8F9D23 #238F9D #9D238F
tetradic
#8F9D23 #239D6E #31239D #9D2352
square
#8F9D23 #239D6E #31239D #9D2352
split-complementary
#8F9D23 #23529D #6E239D
monochromatic
#34390D #616B18 #8F9D23 #BDCF2E #CDDB5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9D23#FFFFFF#000000##000000
##8F9D231.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)
#A89401
Deuteranopia (green-blind)
#A7962E
Tritanopia (blue-blind)
#989486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d23;
/* rgb */ color: rgb(143, 157, 35);
/* oklch */ color: oklch(66.3% 0.140 116.2);
Tailwind
colors: {
  custom: {
    50: '#b3b969',
    500: '#8f9d23',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d23;
$custom-light: #b3b969;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d23",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 66.885,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66304,
    "c": 0.13999,
    "h": 116.2
  },
  "luminance": 0.30075
}

Semantic roles & 50–950 ramp

primary
#8F9D23
secondary
#675CC0
accent
#41E754
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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