#879A26#879A26

#879A26 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.0% C 0.138 H 118.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#879A26
RGBrgb(135, 154, 38)
HSLhsl(70, 60%, 38%)
HSVhsv(70, 75%, 60%)
CMYKcmyk(12.3%, 0%, 75.3%, 39.6%)
CIE-LABlab(60.25, -22.15, 54.68)
CIE-LCHlch(60.25, 59.00, 112.05°)
OKLaboklab(64.98% -0.0661 0.1209)
OKLCHoklch(64.98% 0.138 118.7)
XYZxyz(21.8976, 28.4022, 6.1619)
Luminance0.2840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A26 #39269A
analogous
#9A7326 #879A26 #4D9A26
triadic
#879A26 #26879A #9A2687
tetradic
#879A26 #269A73 #39269A #9A264D
square
#879A26 #269A73 #39269A #9A264D
split-complementary
#879A26 #264D9A #73269A
monochromatic
#31380E #5C691A #879A26 #B2CB32 #C5D862

Accessibility & contrast

On white

3.14
#879A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#879A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879A26
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879A26#FFFFFF#000000##000000
##879A261.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910D
Deuteranopia (green-blind)
#A29230
Tritanopia (blue-blind)
#8F9184
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #879a26;
/* rgb */ color: rgb(135, 154, 38);
/* oklch */ color: oklch(65.0% 0.138 118.7);
Tailwind
colors: {
  custom: {
    50: '#adb769',
    500: '#879a26',
    950: '#000000',
  },
}
SCSS
$custom: #879a26;
$custom-light: #adb769;
$custom-dark: #000000;
JSON
{
  "hex": "#879a26",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 38
  },
  "hsl": {
    "h": 69.828,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64976,
    "c": 0.13781,
    "h": 118.7
  },
  "luminance": 0.28402
}

Semantic roles & 50–950 ramp

primary
#879A26
secondary
#6E5EBE
accent
#44E45E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879A26

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

Preview Lab → · Contrast checker → · Palette generator →

#879A26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva