#8F9725#8F9725

#8F9725 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.9% C 0.132 H 113.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8F9725
RGBrgb(143, 151, 37)
HSLhsl(64, 61%, 37%)
HSVhsv(64, 75%, 59%)
CMYKcmyk(5.3%, 0%, 75.5%, 40.8%)
CIE-LABlab(59.99, -17.17, 55.00)
CIE-LCHlch(59.99, 57.61, 107.34°)
OKLaboklab(64.92% -0.0529 0.1211)
OKLCHoklch(64.92% 0.132 113.6)
XYZxyz(22.7289, 28.1069, 5.9778)
Luminance0.2811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9725 #2D2597
analogous
#976625 #8F9725 #569725
triadic
#8F9725 #258F97 #97258F
tetradic
#8F9725 #259766 #2D2597 #972556
square
#8F9725 #259766 #2D2597 #972556
split-complementary
#8F9725 #255697 #662597
monochromatic
#32350D #606619 #8F9725 #BEC831 #CFD85F

Accessibility & contrast

On white

3.17
#8F9725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#8F9725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9725
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9725#FFFFFF#000000##000000
##8F97251.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F0B
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#998E81
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8f9725;
/* rgb */ color: rgb(143, 151, 37);
/* oklch */ color: oklch(64.9% 0.132 113.6);
Tailwind
colors: {
  custom: {
    50: '#b3b569',
    500: '#8f9725',
    950: '#000000',
  },
}
SCSS
$custom: #8f9725;
$custom-light: #b3b569;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9725",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 64.211,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64916,
    "c": 0.13218,
    "h": 113.6
  },
  "luminance": 0.28106
}

Semantic roles & 50–950 ramp

primary
#8F9725
secondary
#625BBD
accent
#44E44F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9725

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

Preview Lab → · Contrast checker → · Palette generator →

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