#8F8E23#8F8E23

#8F8E23 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.124 H 108.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8F8E23
RGBrgb(143, 142, 35)
HSLhsl(59, 61%, 35%)
HSVhsv(59, 76%, 56%)
CMYKcmyk(0%, 0.7%, 75.5%, 43.9%)
CIE-LABlab(57.37, -12.54, 53.24)
CIE-LCHlch(57.37, 54.70, 103.25°)
OKLaboklab(62.82% -0.0402 0.1171)
OKLCHoklch(62.82% 0.124 108.9)
XYZxyz(21.3049, 25.3077, 5.3524)
Luminance0.2531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8E23 #23248F
analogous
#8F5823 #8F8E23 #5A8F23
triadic
#8F8E23 #238F8E #8E238F
tetradic
#8F8E23 #238F58 #23248F #8F235A
square
#8F8E23 #238F58 #23248F #8F235A
split-complementary
#8F8E23 #235A8F #58238F
monochromatic
#2D2C0B #5E5D17 #8F8E23 #C0BF2F #D6D557

Accessibility & contrast

On white

3.46
#8F8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8F8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8E23
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8E23#FFFFFF#000000##000000
##8F8E231.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880C
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#9A857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8f8e23;
/* rgb */ color: rgb(143, 142, 35);
/* oklch */ color: oklch(62.8% 0.124 108.9);
Tailwind
colors: {
  custom: {
    50: '#b3ae67',
    500: '#8f8e23',
    950: '#000000',
  },
}
SCSS
$custom: #8f8e23;
$custom-light: #b3ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8e23",
  "rgb": {
    "r": 143,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 59.444,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62823,
    "c": 0.12375,
    "h": 108.9
  },
  "luminance": 0.25307
}

Semantic roles & 50–950 ramp

primary
#8F8E23
secondary
#5455BA
accent
#45E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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