#879A23#879A23

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

Color values

HEX#879A23
RGBrgb(135, 154, 35)
HSLhsl(70, 63%, 37%)
HSVhsv(70, 77%, 60%)
CMYKcmyk(12.3%, 0%, 77.3%, 39.6%)
CIE-LABlab(60.23, -22.29, 55.68)
CIE-LCHlch(60.23, 59.98, 111.82°)
OKLaboklab(64.96% -0.0668 0.1225)
OKLCHoklch(64.96% 0.14 118.6)
XYZxyz(21.8511, 28.3836, 5.9172)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A23 #36239A
analogous
#9A7223 #879A23 #4C9A23
triadic
#879A23 #23879A #9A2387
tetradic
#879A23 #239A72 #36239A #9A234C
square
#879A23 #239A72 #36239A #9A234C
split-complementary
#879A23 #234C9A #72239A
monochromatic
#30360C #5B6818 #879A23 #B3CC2E #C6DA5D

Accessibility & contrast

On white

3.15
#879A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##879A23#FFFFFF#000000##000000
##879A231.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879a23;
/* rgb */ color: rgb(135, 154, 35);
/* oklch */ color: oklch(65.0% 0.140 118.6);
Tailwind
colors: {
  custom: {
    50: '#adb768',
    500: '#879a23',
    950: '#000000',
  },
}
SCSS
$custom: #879a23;
$custom-light: #adb768;
$custom-dark: #000000;
JSON
{
  "hex": "#879a23",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 69.58,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64958,
    "c": 0.13952,
    "h": 118.6
  },
  "luminance": 0.28383
}

Semantic roles & 50–950 ramp

primary
#879A23
secondary
#6A5ABF
accent
#42E65C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879A23

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

Preview Lab → · Contrast checker → · Palette generator →

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