#879825#879825

#879825 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.5% C 0.136 H 117.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#879825
RGBrgb(135, 152, 37)
HSLhsl(69, 61%, 37%)
HSVhsv(69, 76%, 60%)
CMYKcmyk(11.2%, 0%, 75.7%, 40.4%)
CIE-LABlab(59.65, -21.19, 54.46)
CIE-LCHlch(59.65, 58.44, 111.26°)
OKLaboklab(64.5% -0.0636 0.1203)
OKLCHoklch(64.5% 0.136 117.9)
XYZxyz(21.5543, 27.7412, 5.9690)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879825 #362598
analogous
#987025 #879825 #4D9825
triadic
#879825 #258798 #982587
tetradic
#879825 #259870 #362598 #98254D
square
#879825 #259870 #362598 #98254D
split-complementary
#879825 #254D98 #702598
monochromatic
#30360D #5B6719 #879825 #B3C931 #C6D85F

Accessibility & contrast

On white

3.21
#879825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#879825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879825
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879825#FFFFFF#000000##000000
##8798251.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0B
Deuteranopia (green-blind)
#A1902F
Tritanopia (blue-blind)
#908F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #879825;
/* rgb */ color: rgb(135, 152, 37);
/* oklch */ color: oklch(64.5% 0.136 117.9);
Tailwind
colors: {
  custom: {
    50: '#adb669',
    500: '#879825',
    950: '#000000',
  },
}
SCSS
$custom: #879825;
$custom-light: #adb669;
$custom-dark: #000000;
JSON
{
  "hex": "#879825",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 68.87,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64495,
    "c": 0.13604,
    "h": 117.9
  },
  "luminance": 0.27741
}

Semantic roles & 50–950 ramp

primary
#879825
secondary
#6A5CBD
accent
#44E45C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879825

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

Preview Lab → · Contrast checker → · Palette generator →

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