#8F8225#8F8225

#8F8225 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.1% C 0.111 H 101.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8F8225
RGBrgb(143, 130, 37)
HSLhsl(53, 59%, 35%)
HSVhsv(53, 74%, 56%)
CMYKcmyk(0%, 9.1%, 74.1%, 43.9%)
CIE-LABlab(53.96, -5.94, 49.25)
CIE-LCHlch(53.96, 49.60, 96.87°)
OKLaboklab(60.11% -0.0214 0.109)
OKLCHoklch(60.11% 0.111 101.1)
XYZxyz(19.6452, 21.9394, 4.9498)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8225 #25328F
analogous
#8F4D25 #8F8225 #678F25
triadic
#8F8225 #258F82 #82258F
tetradic
#8F8225 #258F4D #25328F #8F2567
square
#8F8225 #258F4D #25328F #8F2567
split-complementary
#8F8225 #25678F #4D258F
monochromatic
#2E2A0C #5E5618 #8F8225 #C0AE32 #D4C55A

Accessibility & contrast

On white

3.90
#8F8225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8F8225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8225
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8225#FFFFFF#000000##000000
##8F82251.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E15
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#9A7870
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f8225;
/* rgb */ color: rgb(143, 130, 37);
/* oklch */ color: oklch(60.1% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#b3a666',
    500: '#8f8225',
    950: '#000000',
  },
}
SCSS
$custom: #8f8225;
$custom-light: #b3a666;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8225",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 37
  },
  "hsl": {
    "h": 52.642,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60111,
    "c": 0.11105,
    "h": 101.1
  },
  "luminance": 0.21938
}

Semantic roles & 50–950 ramp

primary
#8F8225
secondary
#5763B9
accent
#59E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8225

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

Preview Lab → · Contrast checker → · Palette generator →

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