#8F8235#8F8235

#8F8235 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.099 H 99.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8F8235
RGBrgb(143, 130, 53)
HSLhsl(51, 46%, 38%)
HSVhsv(51, 63%, 56%)
CMYKcmyk(0%, 9.1%, 62.9%, 43.9%)
CIE-LABlab(54.09, -4.96, 42.39)
CIE-LCHlch(54.09, 42.68, 96.68°)
OKLaboklab(60.26% -0.0167 0.0972)
OKLCHoklch(60.26% 0.099 99.8)
XYZxyz(19.9537, 22.0628, 6.5750)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8235 #35428F
analogous
#8F5535 #8F8235 #6F8F35
triadic
#8F8235 #358F82 #82358F
tetradic
#8F8235 #358F55 #35428F #8F356F
square
#8F8235 #358F55 #35428F #8F356F
split-complementary
#8F8235 #356F8F #55358F
monochromatic
#363114 #625924 #8F8235 #BBAA47 #CBBE73

Accessibility & contrast

On white

3.88
#8F8235 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8F8235 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8235
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8235#FFFFFF#000000##000000
##8F82351.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2C
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#9A7971
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f8235;
/* rgb */ color: rgb(143, 130, 53);
/* oklch */ color: oklch(60.3% 0.099 99.8);
Tailwind
colors: {
  custom: {
    50: '#b2a670',
    500: '#8f8235',
    950: '#000000',
  },
}
SCSS
$custom: #8f8235;
$custom-light: #b2a670;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8235",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 53
  },
  "hsl": {
    "h": 51.333,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.09864,
    "h": 99.8
  },
  "luminance": 0.22062
}

Semantic roles & 50–950 ramp

primary
#8F8235
secondary
#6C77B4
accent
#65D652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8F8235

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

Preview Lab → · Contrast checker → · Palette generator →

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