#8F7E25#8F7E25

#8F7E25 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.108 H 98.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8F7E25
RGBrgb(143, 126, 37)
HSLhsl(50, 59%, 35%)
HSVhsv(50, 74%, 56%)
CMYKcmyk(0%, 11.9%, 74.1%, 43.9%)
CIE-LABlab(52.84, -3.72, 48.15)
CIE-LCHlch(52.84, 48.29, 94.42°)
OKLaboklab(59.22% -0.0151 0.1066)
OKLCHoklch(59.22% 0.108 98.1)
XYZxyz(19.1234, 20.8959, 4.7759)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E25 #25368F
analogous
#8F4925 #8F7E25 #6B8F25
triadic
#8F7E25 #258F7E #7E258F
tetradic
#8F7E25 #258F49 #25368F #8F256B
square
#8F7E25 #258F49 #25368F #8F256B
split-complementary
#8F7E25 #256B8F #49258F
monochromatic
#2E280C #5E5318 #8F7E25 #C0A932 #D4C15A

Accessibility & contrast

On white

4.05
#8F7E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8F7E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E25
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E25#FFFFFF#000000##000000
##8F7E251.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B17
Deuteranopia (green-blind)
#8F812A
Tritanopia (blue-blind)
#9B746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e25;
/* rgb */ color: rgb(143, 126, 37);
/* oklch */ color: oklch(59.2% 0.108 98.1);
Tailwind
colors: {
  custom: {
    50: '#b3a366',
    500: '#8f7e25',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e25;
$custom-light: #b3a366;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e25",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 50.377,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59217,
    "c": 0.10771,
    "h": 98.1
  },
  "luminance": 0.20895
}

Semantic roles & 50–950 ramp

primary
#8F7E25
secondary
#5767B9
accent
#5FE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8F7E25

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

Preview Lab → · Contrast checker → · Palette generator →

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