#878025#878025

#878025 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.110 H 104.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#878025
RGBrgb(135, 128, 37)
HSLhsl(56, 57%, 34%)
HSVhsv(56, 73%, 53%)
CMYKcmyk(0%, 5.2%, 72.6%, 47.1%)
CIE-LABlab(52.65, -8.51, 47.71)
CIE-LCHlch(52.65, 48.46, 100.12°)
OKLaboklab(58.89% -0.0282 0.106)
OKLCHoklch(58.89% 0.11 104.9)
XYZxyz(18.0455, 20.7235, 4.7994)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878025 #252C87
analogous
#874F25 #878025 #5D8725
triadic
#878025 #258780 #802587
tetradic
#878025 #25874F #252C87 #87255D
square
#878025 #25874F #252C87 #87255D
split-complementary
#878025 #255D87 #4F2587
monochromatic
#27250B #575218 #878025 #B7AE32 #D1C856

Accessibility & contrast

On white

4.08
#878025 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#878025 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878025
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878025#FFFFFF#000000##000000
##8780251.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B16
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#91776E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #878025;
/* rgb */ color: rgb(135, 128, 37);
/* oklch */ color: oklch(58.9% 0.110 104.9);
Tailwind
colors: {
  custom: {
    50: '#ada466',
    500: '#878025',
    950: '#000000',
  },
}
SCSS
$custom: #878025;
$custom-light: #ada466;
$custom-dark: #000000;
JSON
{
  "hex": "#878025",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 37
  },
  "hsl": {
    "h": 55.714,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58885,
    "c": 0.10971,
    "h": 104.9
  },
  "luminance": 0.20723
}

Semantic roles & 50–950 ramp

primary
#878025
secondary
#535AB5
accent
#52E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #878025

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

Preview Lab → · Contrast checker → · Palette generator →

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