#8F8A27#8F8A27

#8F8A27 is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.117 H 106.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8F8A27
RGBrgb(143, 138, 39)
HSLhsl(57, 57%, 36%)
HSVhsv(57, 73%, 56%)
CMYKcmyk(0%, 3.5%, 72.7%, 43.9%)
CIE-LABlab(56.25, -10.20, 50.69)
CIE-LCHlch(56.25, 51.71, 101.38°)
OKLaboklab(61.94% -0.0332 0.1124)
OKLCHoklch(61.94% 0.117 106.5)
XYZxyz(20.7832, 24.1638, 5.4884)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A27 #272C8F
analogous
#8F5627 #8F8A27 #608F27
triadic
#8F8A27 #278F8A #8A278F
tetradic
#8F8A27 #278F56 #272C8F #8F2760
square
#8F8A27 #278F56 #272C8F #8F2760
split-complementary
#8F8A27 #27608F #56278F
monochromatic
#2F2D0D #5F5C1A #8F8A27 #BFB834 #D3CD5D

Accessibility & contrast

On white

3.60
#8F8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8F8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A27
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A27#FFFFFF#000000##000000
##8F8A271.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968516
Deuteranopia (green-blind)
#98892E
Tritanopia (blue-blind)
#9A8177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a27;
/* rgb */ color: rgb(143, 138, 39);
/* oklch */ color: oklch(61.9% 0.117 106.5);
Tailwind
colors: {
  custom: {
    50: '#b3ab68',
    500: '#8f8a27',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a27;
$custom-light: #b3ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a27",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 57.115,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61936,
    "c": 0.11722,
    "h": 106.5
  },
  "luminance": 0.24163
}

Semantic roles & 50–950 ramp

primary
#8F8A27
secondary
#5A5EB8
accent
#4FE047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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