#8F9626#8F9626

#8F9626 is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.7% C 0.130 H 113.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8F9626
RGBrgb(143, 150, 38)
HSLhsl(64, 60%, 37%)
HSVhsv(64, 75%, 59%)
CMYKcmyk(4.7%, 0%, 74.7%, 41.2%)
CIE-LABlab(59.70, -16.61, 54.38)
CIE-LCHlch(59.70, 56.86, 106.98°)
OKLaboklab(64.69% -0.0512 0.12)
OKLCHoklch(64.69% 0.13 113.1)
XYZxyz(22.5846, 27.7928, 6.0082)
Luminance0.2779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9626 #2D2696
analogous
#966526 #8F9626 #579626
triadic
#8F9626 #268F96 #96268F
tetradic
#8F9626 #269665 #2D2696 #962657
square
#8F9626 #269665 #2D2696 #962657
split-complementary
#8F9626 #265796 #652696
monochromatic
#32340D #60651A #8F9626 #BEC732 #CFD760

Accessibility & contrast

On white

3.20
#8F9626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#8F9626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9626
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9626#FFFFFF#000000##000000
##8F96261.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0F
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#998D81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f9626;
/* rgb */ color: rgb(143, 150, 38);
/* oklch */ color: oklch(64.7% 0.130 113.1);
Tailwind
colors: {
  custom: {
    50: '#b3b469',
    500: '#8f9626',
    950: '#000000',
  },
}
SCSS
$custom: #8f9626;
$custom-light: #b3b469;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9626",
  "rgb": {
    "r": 143,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 63.75,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6469,
    "c": 0.13049,
    "h": 113.1
  },
  "luminance": 0.27792
}

Semantic roles & 50–950 ramp

primary
#8F9626
secondary
#625CBC
accent
#45E34F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9626

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

Preview Lab → · Contrast checker → · Palette generator →

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