#8F8934#8F8934

#8F8934 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.106 H 105.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8F8934
RGBrgb(143, 137, 52)
HSLhsl(56, 47%, 38%)
HSVhsv(56, 64%, 56%)
CMYKcmyk(0%, 4.2%, 63.6%, 43.9%)
CIE-LABlab(56.07, -8.87, 45.00)
CIE-LCHlch(56.07, 45.86, 101.16°)
OKLaboklab(61.82% -0.028 0.1026)
OKLCHoklch(61.82% 0.106 105.3)
XYZxyz(20.8939, 23.9796, 6.7761)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8934 #343A8F
analogous
#8F5B34 #8F8934 #678F34
triadic
#8F8934 #348F89 #89348F
tetradic
#8F8934 #348F5B #343A8F #8F3467
square
#8F8934 #348F5B #343A8F #8F3467
split-complementary
#8F8934 #34678F #5B348F
monochromatic
#353313 #625E24 #8F8934 #BBB445 #CCC672

Accessibility & contrast

On white

3.62
#8F8934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8F8934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8934
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8934#FFFFFF#000000##000000
##8F89341.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842A
Deuteranopia (green-blind)
#978839
Tritanopia (blue-blind)
#998077
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f8934;
/* rgb */ color: rgb(143, 137, 52);
/* oklch */ color: oklch(61.8% 0.106 105.3);
Tailwind
colors: {
  custom: {
    50: '#b2ab70',
    500: '#8f8934',
    950: '#000000',
  },
}
SCSS
$custom: #8f8934;
$custom-light: #b2ab70;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8934",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 52
  },
  "hsl": {
    "h": 56.044,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61821,
    "c": 0.10635,
    "h": 105.3
  },
  "luminance": 0.23979
}

Semantic roles & 50–950 ramp

primary
#8F8934
secondary
#6B70B4
accent
#5AD651
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8F8934

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

Preview Lab → · Contrast checker → · Palette generator →

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