#8F8735#8F8735

#8F8735 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.4% C 0.103 H 103.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8F8735
RGBrgb(143, 135, 53)
HSLhsl(55, 46%, 38%)
HSVhsv(55, 63%, 56%)
CMYKcmyk(0%, 5.6%, 62.9%, 43.9%)
CIE-LABlab(55.51, -7.71, 43.93)
CIE-LCHlch(55.51, 44.60, 99.96°)
OKLaboklab(61.38% -0.0246 0.1005)
OKLCHoklch(61.38% 0.103 103.8)
XYZxyz(20.6350, 23.4254, 6.8021)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8735 #353D8F
analogous
#8F5A35 #8F8735 #6A8F35
triadic
#8F8735 #358F87 #87358F
tetradic
#8F8735 #358F5A #353D8F #8F356A
square
#8F8735 #358F5A #353D8F #8F356A
split-complementary
#8F8735 #356A8F #5A358F
monochromatic
#363314 #625D24 #8F8735 #BBB047 #CBC373

Accessibility & contrast

On white

3.69
#8F8735 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8F8735 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8735
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8735#FFFFFF#000000##000000
##8F87351.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92832C
Deuteranopia (green-blind)
#95873A
Tritanopia (blue-blind)
#997E76
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f8735;
/* rgb */ color: rgb(143, 135, 53);
/* oklch */ color: oklch(61.4% 0.103 103.8);
Tailwind
colors: {
  custom: {
    50: '#b2a970',
    500: '#8f8735',
    950: '#000000',
  },
}
SCSS
$custom: #8f8735;
$custom-light: #b2a970;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8735",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 53
  },
  "hsl": {
    "h": 54.667,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61379,
    "c": 0.10345,
    "h": 103.8
  },
  "luminance": 0.23425
}

Semantic roles & 50–950 ramp

primary
#8F8735
secondary
#6C73B4
accent
#5ED652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8F8735

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

Preview Lab → · Contrast checker → · Palette generator →

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