#8F8B18#8F8B18

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

Color values

HEX#8F8B18
RGBrgb(143, 139, 24)
HSLhsl(58, 71%, 33%)
HSVhsv(58, 83%, 56%)
CMYKcmyk(0%, 2.8%, 83.2%, 43.9%)
CIE-LABlab(56.46, -11.37, 55.90)
CIE-LCHlch(56.46, 57.04, 101.49°)
OKLaboklab(62.08% -0.0378 0.1206)
OKLCHoklch(62.08% 0.126 107.4)
XYZxyz(20.7261, 24.3716, 4.4764)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8B18 #181C8F
analogous
#8F4F18 #8F8B18 #588F18
triadic
#8F8B18 #188F8B #8B188F
tetradic
#8F8B18 #188F4F #181C8F #8F1858
square
#8F8B18 #188F4F #181C8F #8F1858
split-complementary
#8F8B18 #18588F #4F188F
monochromatic
#262506 #5B580F #8F8B18 #C3BE21 #DFDA42

Accessibility & contrast

On white

3.57
#8F8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8B18#FFFFFF#000000##000000
##8F8B181.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f8b18;
/* rgb */ color: rgb(143, 139, 24);
/* oklch */ color: oklch(62.1% 0.126 107.4);
Tailwind
colors: {
  custom: {
    50: '#b4ac62',
    500: '#8f8b18',
    950: '#000000',
  },
}
SCSS
$custom: #8f8b18;
$custom-light: #b4ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8b18",
  "rgb": {
    "r": 143,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 57.983,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62075,
    "c": 0.12641,
    "h": 107.4
  },
  "luminance": 0.24371
}

Semantic roles & 50–950 ramp

primary
#8F8B18
secondary
#4347C0
accent
#40EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #8F8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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