#879A25#879A25

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

Color values

HEX#879A25
RGBrgb(135, 154, 37)
HSLhsl(70, 61%, 37%)
HSVhsv(70, 76%, 60%)
CMYKcmyk(12.3%, 0%, 76%, 39.6%)
CIE-LABlab(60.24, -22.20, 55.02)
CIE-LCHlch(60.24, 59.33, 111.97°)
OKLaboklab(64.97% -0.0663 0.1215)
OKLCHoklch(64.97% 0.138 118.6)
XYZxyz(21.8817, 28.3958, 6.0781)
Luminance0.2840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A25 #38259A
analogous
#9A7325 #879A25 #4C9A25
triadic
#879A25 #25879A #9A2587
tetradic
#879A25 #259A73 #38259A #9A254C
square
#879A25 #259A73 #38259A #9A254C
split-complementary
#879A25 #254C9A #73259A
monochromatic
#30370D #5C6919 #879A25 #B2CB31 #C5D960

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #879a25;
/* rgb */ color: rgb(135, 154, 37);
/* oklch */ color: oklch(65.0% 0.138 118.6);
Tailwind
colors: {
  custom: {
    50: '#adb769',
    500: '#879a25',
    950: '#000000',
  },
}
SCSS
$custom: #879a25;
$custom-light: #adb769;
$custom-dark: #000000;
JSON
{
  "hex": "#879a25",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 37
  },
  "hsl": {
    "h": 69.744,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6497,
    "c": 0.1384,
    "h": 118.6
  },
  "luminance": 0.28396
}

Semantic roles & 50–950 ramp

primary
#879A25
secondary
#6D5DBE
accent
#43E45E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879A25

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

Preview Lab → · Contrast checker → · Palette generator →

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