#8F8F23#8F8F23

#8F8F23 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.1% C 0.125 H 109.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8F8F23
RGBrgb(143, 143, 35)
HSLhsl(60, 61%, 35%)
HSVhsv(60, 76%, 56%)
CMYKcmyk(0%, 0%, 75.5%, 43.9%)
CIE-LABlab(57.66, -13.07, 53.51)
CIE-LCHlch(57.66, 55.09, 103.73°)
OKLaboklab(63.05% -0.0417 0.1176)
OKLCHoklch(63.05% 0.125 109.5)
XYZxyz(21.4543, 25.6066, 5.4022)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8F23 #23238F
analogous
#8F5923 #8F8F23 #598F23
triadic
#8F8F23 #238F8F #8F238F
tetradic
#8F8F23 #238F59 #23238F #8F2359
square
#8F8F23 #238F59 #23238F #8F2359
split-complementary
#8F8F23 #23598F #59238F
monochromatic
#2D2D0B #5E5E17 #8F8F23 #C0C02F #D6D657

Accessibility & contrast

On white

3.43
#8F8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8F8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8F23
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8F23#FFFFFF#000000##000000
##8F8F231.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890B
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#99867A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8f8f23;
/* rgb */ color: rgb(143, 143, 35);
/* oklch */ color: oklch(63.1% 0.125 109.5);
Tailwind
colors: {
  custom: {
    50: '#b3af67',
    500: '#8f8f23',
    950: '#000000',
  },
}
SCSS
$custom: #8f8f23;
$custom-light: #b3af67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8f23",
  "rgb": {
    "r": 143,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63053,
    "c": 0.12478,
    "h": 109.5
  },
  "luminance": 0.25606
}

Semantic roles & 50–950 ramp

primary
#8F8F23
secondary
#5454BA
accent
#44E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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