#879626#879626

#879626 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.0% C 0.133 H 117.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#879626
RGBrgb(135, 150, 38)
HSLhsl(68, 60%, 37%)
HSVhsv(68, 75%, 59%)
CMYKcmyk(10%, 0%, 74.7%, 41.2%)
CIE-LABlab(59.07, -20.12, 53.56)
CIE-LCHlch(59.07, 57.21, 110.59°)
OKLaboklab(64.03% -0.0605 0.1185)
OKLCHoklch(64.03% 0.133 117)
XYZxyz(21.2484, 27.1038, 5.9455)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879626 #352696
analogous
#966D26 #879626 #4F9626
triadic
#879626 #268796 #962687
tetradic
#879626 #26966D #352696 #96264F
square
#879626 #26966D #352696 #96264F
split-complementary
#879626 #264F96 #6D2696
monochromatic
#2F340D #5B651A #879626 #B3C732 #C7D760

Accessibility & contrast

On white

3.27
#879626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#879626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879626
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879626#FFFFFF#000000##000000
##8796261.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E0F
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#908D81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #879626;
/* rgb */ color: rgb(135, 150, 38);
/* oklch */ color: oklch(64.0% 0.133 117.0);
Tailwind
colors: {
  custom: {
    50: '#adb469',
    500: '#879626',
    950: '#000000',
  },
}
SCSS
$custom: #879626;
$custom-light: #adb469;
$custom-dark: #000000;
JSON
{
  "hex": "#879626",
  "rgb": {
    "r": 135,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 68.036,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64027,
    "c": 0.1331,
    "h": 117
  },
  "luminance": 0.27104
}

Semantic roles & 50–950 ramp

primary
#879626
secondary
#695CBC
accent
#45E35A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879626

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

Preview Lab → · Contrast checker → · Palette generator →

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