#879125#879125

#879125 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.8% C 0.128 H 114.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#879125
RGBrgb(135, 145, 37)
HSLhsl(66, 59%, 36%)
HSVhsv(66, 74%, 57%)
CMYKcmyk(6.9%, 0%, 74.5%, 43.1%)
CIE-LABlab(57.59, -17.60, 52.50)
CIE-LCHlch(57.59, 55.37, 108.53°)
OKLaboklab(62.84% -0.0536 0.1161)
OKLCHoklch(62.84% 0.128 114.8)
XYZxyz(20.4516, 25.5356, 5.6014)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879125 #2F2591
analogous
#916525 #879125 #519125
triadic
#879125 #258791 #912587
tetradic
#879125 #259165 #2F2591 #912551
square
#879125 #259165 #2F2591 #912551
split-complementary
#879125 #255191 #652591
monochromatic
#2C2F0C #5A6019 #879125 #B4C231 #CAD55B

Accessibility & contrast

On white

3.44
#879125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#879125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879125
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879125#FFFFFF#000000##000000
##8791251.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0F
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#90887C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #879125;
/* rgb */ color: rgb(135, 145, 37);
/* oklch */ color: oklch(62.8% 0.128 114.8);
Tailwind
colors: {
  custom: {
    50: '#adb168',
    500: '#879125',
    950: '#000000',
  },
}
SCSS
$custom: #879125;
$custom-light: #adb168;
$custom-dark: #000000;
JSON
{
  "hex": "#879125",
  "rgb": {
    "r": 135,
    "g": 145,
    "b": 37
  },
  "hsl": {
    "h": 65.556,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6284,
    "c": 0.12792,
    "h": 114.8
  },
  "luminance": 0.25535
}

Semantic roles & 50–950 ramp

primary
#879125
secondary
#6158BA
accent
#45E354
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #879125

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

Preview Lab → · Contrast checker → · Palette generator →

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