#8F8A35#8F8A35

#8F8A35 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.107 H 105.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8F8A35
RGBrgb(143, 138, 53)
HSLhsl(57, 46%, 38%)
HSVhsv(57, 63%, 56%)
CMYKcmyk(0%, 3.5%, 62.9%, 43.9%)
CIE-LABlab(56.36, -9.35, 44.86)
CIE-LCHlch(56.36, 45.82, 101.77°)
OKLaboklab(62.06% -0.0292 0.1025)
OKLCHoklch(62.06% 0.107 105.9)
XYZxyz(21.0595, 24.2743, 6.9436)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A35 #353A8F
analogous
#8F5D35 #8F8A35 #678F35
triadic
#8F8A35 #358F8A #8A358F
tetradic
#8F8A35 #358F5D #353A8F #8F3567
square
#8F8A35 #358F5D #353A8F #8F3567
split-complementary
#8F8A35 #35678F #5D358F
monochromatic
#363414 #625F24 #8F8A35 #BBB447 #CBC673

Accessibility & contrast

On white

3.59
#8F8A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8F8A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A35
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A35#FFFFFF#000000##000000
##8F8A351.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852B
Deuteranopia (green-blind)
#97893A
Tritanopia (blue-blind)
#998178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a35;
/* rgb */ color: rgb(143, 138, 53);
/* oklch */ color: oklch(62.1% 0.107 105.9);
Tailwind
colors: {
  custom: {
    50: '#b2ab70',
    500: '#8f8a35',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a35;
$custom-light: #b2ab70;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a35",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 56.667,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62058,
    "c": 0.10655,
    "h": 105.9
  },
  "luminance": 0.24274
}

Semantic roles & 50–950 ramp

primary
#8F8A35
secondary
#6C70B4
accent
#5AD652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8F8A35

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

Preview Lab → · Contrast checker → · Palette generator →

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