#879A24#879A24

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

Color values

HEX#879A24
RGBrgb(135, 154, 36)
HSLhsl(70, 62%, 37%)
HSVhsv(70, 77%, 60%)
CMYKcmyk(12.3%, 0%, 76.6%, 39.6%)
CIE-LABlab(60.24, -22.25, 55.35)
CIE-LCHlch(60.24, 59.66, 111.89°)
OKLaboklab(64.96% -0.0666 0.122)
OKLCHoklch(64.96% 0.139 118.6)
XYZxyz(21.8662, 28.3897, 5.9966)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A24 #37249A
analogous
#9A7224 #879A24 #4C9A24
triadic
#879A24 #24879A #9A2487
tetradic
#879A24 #249A72 #37249A #9A244C
square
#879A24 #249A72 #37249A #9A244C
split-complementary
#879A24 #244C9A #72249A
monochromatic
#30370D #5C6818 #879A24 #B2CC30 #C6DA5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879A24#FFFFFF#000000##000000
##879A241.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)
#A49107
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#8F9184
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #879a24;
/* rgb */ color: rgb(135, 154, 36);
/* oklch */ color: oklch(65.0% 0.139 118.6);
Tailwind
colors: {
  custom: {
    50: '#adb769',
    500: '#879a24',
    950: '#000000',
  },
}
SCSS
$custom: #879a24;
$custom-light: #adb769;
$custom-dark: #000000;
JSON
{
  "hex": "#879a24",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 36
  },
  "hsl": {
    "h": 69.661,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64964,
    "c": 0.13896,
    "h": 118.6
  },
  "luminance": 0.28389
}

Semantic roles & 50–950 ramp

primary
#879A24
secondary
#6B5BBF
accent
#43E55D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879A24

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

Preview Lab → · Contrast checker → · Palette generator →

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