#8F8B15#8F8B15

#8F8B15 is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.1% C 0.128 H 107.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8F8B15
RGBrgb(143, 139, 21)
HSLhsl(58, 74%, 32%)
HSVhsv(58, 85%, 56%)
CMYKcmyk(0%, 2.8%, 85.3%, 43.9%)
CIE-LABlab(56.45, -11.46, 56.69)
CIE-LCHlch(56.45, 57.84, 101.43°)
OKLaboklab(62.06% -0.0383 0.1218)
OKLCHoklch(62.06% 0.128 107.5)
XYZxyz(20.6966, 24.3598, 4.3210)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8B15 #15198F
analogous
#8F4E15 #8F8B15 #568F15
triadic
#8F8B15 #158F8B #8B158F
tetradic
#8F8B15 #158F4E #15198F #8F1556
square
#8F8B15 #158F4E #15198F #8F1556
split-complementary
#8F8B15 #15568F #4E158F
monochromatic
#242305 #5A570D #8F8B15 #C4BF1D #E2DD3C

Accessibility & contrast

On white

3.58
#8F8B15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8F8B15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8B15
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8B15#FFFFFF#000000##000000
##8F8B151.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#9A8921
Tritanopia (blue-blind)
#9A8176
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8b15;
/* rgb */ color: rgb(143, 139, 21);
/* oklch */ color: oklch(62.1% 0.128 107.5);
Tailwind
colors: {
  custom: {
    50: '#b4ac60',
    500: '#8f8b15',
    950: '#000000',
  },
}
SCSS
$custom: #8f8b15;
$custom-light: #b4ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8b15",
  "rgb": {
    "r": 143,
    "g": 139,
    "b": 21
  },
  "hsl": {
    "h": 58.033,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62062,
    "c": 0.12764,
    "h": 107.5
  },
  "luminance": 0.24359
}

Semantic roles & 50–950 ramp

primary
#8F8B15
secondary
#3E42C2
accent
#3DF137
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #8F8B15

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

Preview Lab → · Contrast checker → · Palette generator →

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