#8F8A26#8F8A26

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

Color values

HEX#8F8A26
RGBrgb(143, 138, 38)
HSLhsl(57, 58%, 35%)
HSVhsv(57, 73%, 56%)
CMYKcmyk(0%, 3.5%, 73.4%, 43.9%)
CIE-LABlab(56.24, -10.25, 51.07)
CIE-LCHlch(56.24, 52.09, 101.35°)
OKLaboklab(61.93% -0.0335 0.113)
OKLCHoklch(61.93% 0.118 106.5)
XYZxyz(20.7668, 24.1573, 5.4023)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A26 #262B8F
analogous
#8F5526 #8F8A26 #5F8F26
triadic
#8F8A26 #268F8A #8A268F
tetradic
#8F8A26 #268F55 #262B8F #8F265F
square
#8F8A26 #268F55 #262B8F #8F265F
split-complementary
#8F8A26 #265F8F #55268F
monochromatic
#2E2D0C #5F5B19 #8F8A26 #BFB933 #D4CE5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8A26#FFFFFF#000000##000000
##8F8A261.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)
#968514
Deuteranopia (green-blind)
#98892D
Tritanopia (blue-blind)
#9A8177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a26;
/* rgb */ color: rgb(143, 138, 38);
/* oklch */ color: oklch(61.9% 0.118 106.5);
Tailwind
colors: {
  custom: {
    50: '#b3ab68',
    500: '#8f8a26',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a26;
$custom-light: #b3ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a26",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 57.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61928,
    "c": 0.11787,
    "h": 106.5
  },
  "luminance": 0.24157
}

Semantic roles & 50–950 ramp

primary
#8F8A26
secondary
#585DB9
accent
#4EE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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