#879926#879926

#879926 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.7% C 0.137 H 118.3°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#879926
RGBrgb(135, 153, 38)
HSLhsl(69, 60%, 37%)
HSVhsv(69, 75%, 60%)
CMYKcmyk(11.8%, 0%, 75.2%, 40%)
CIE-LABlab(59.96, -21.64, 54.40)
CIE-LCHlch(59.96, 58.55, 111.70°)
OKLaboklab(64.74% -0.0647 0.1203)
OKLCHoklch(64.74% 0.137 118.3)
XYZxyz(21.7332, 28.0735, 6.1072)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879926 #382699
analogous
#997126 #879926 #4E9926
triadic
#879926 #268799 #992687
tetradic
#879926 #269971 #382699 #99264E
square
#879926 #269971 #382699 #99264E
split-complementary
#879926 #264E99 #712699
monochromatic
#30370E #5C681A #879926 #B2CA32 #C5D862

Accessibility & contrast

On white

3.17
#879926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#879926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879926
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879926#FFFFFF#000000##000000
##8799261.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900D
Deuteranopia (green-blind)
#A19130
Tritanopia (blue-blind)
#8F9083
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #879926;
/* rgb */ color: rgb(135, 153, 38);
/* oklch */ color: oklch(64.7% 0.137 118.3);
Tailwind
colors: {
  custom: {
    50: '#adb769',
    500: '#879926',
    950: '#000000',
  },
}
SCSS
$custom: #879926;
$custom-light: #adb769;
$custom-dark: #000000;
JSON
{
  "hex": "#879926",
  "rgb": {
    "r": 135,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 69.391,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64739,
    "c": 0.13663,
    "h": 118.3
  },
  "luminance": 0.28073
}

Semantic roles & 50–950 ramp

primary
#879926
secondary
#6D5EBD
accent
#44E35D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879926

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

Preview Lab → · Contrast checker → · Palette generator →

#879926 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva