#879725#879725

#879725 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.3% C 0.135 H 117.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#879725
RGBrgb(135, 151, 37)
HSLhsl(68, 61%, 37%)
HSVhsv(68, 75%, 59%)
CMYKcmyk(10.6%, 0%, 75.5%, 40.8%)
CIE-LABlab(59.36, -20.68, 54.18)
CIE-LCHlch(59.36, 58.00, 110.89°)
OKLaboklab(64.26% -0.0621 0.1197)
OKLCHoklch(64.26% 0.135 117.4)
XYZxyz(21.3927, 27.4179, 5.9151)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879725 #352597
analogous
#976E25 #879725 #4E9725
triadic
#879725 #258797 #972587
tetradic
#879725 #25976E #352597 #97254E
square
#879725 #25976E #352597 #97254E
split-complementary
#879725 #254E97 #6E2597
monochromatic
#2F350D #5B6619 #879725 #B3C831 #C7D85F

Accessibility & contrast

On white

3.24
#879725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#879725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879725
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879725#FFFFFF#000000##000000
##8797251.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F0C
Deuteranopia (green-blind)
#A0902F
Tritanopia (blue-blind)
#908E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #879725;
/* rgb */ color: rgb(135, 151, 37);
/* oklch */ color: oklch(64.3% 0.135 117.4);
Tailwind
colors: {
  custom: {
    50: '#adb569',
    500: '#879725',
    950: '#000000',
  },
}
SCSS
$custom: #879725;
$custom-light: #adb569;
$custom-dark: #000000;
JSON
{
  "hex": "#879725",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 68.421,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64257,
    "c": 0.13486,
    "h": 117.4
  },
  "luminance": 0.27418
}

Semantic roles & 50–950 ramp

primary
#879725
secondary
#695BBD
accent
#44E45A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879725

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

Preview Lab → · Contrast checker → · Palette generator →

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