#879120#879120

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

Color values

HEX#879120
RGBrgb(135, 145, 32)
HSLhsl(65, 64%, 35%)
HSVhsv(65, 78%, 57%)
CMYKcmyk(6.9%, 0%, 77.9%, 43.1%)
CIE-LABlab(57.57, -17.83, 54.20)
CIE-LCHlch(57.57, 57.06, 108.21°)
OKLaboklab(62.81% -0.0547 0.1188)
OKLCHoklch(62.81% 0.131 114.7)
XYZxyz(20.3784, 25.5064, 5.2159)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879120 #2A2091
analogous
#916320 #879120 #4E9120
triadic
#879120 #208791 #912087
tetradic
#879120 #209163 #2A2091 #91204E
square
#879120 #209163 #2A2091 #91204E
split-complementary
#879120 #204E91 #632091
monochromatic
#2A2D0A #585F15 #879120 #B6C32B #CDD952

Accessibility & contrast

On white

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

On black

6.10
#879120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879120
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879120#FFFFFF#000000##000000
##8791201.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879120;
/* rgb */ color: rgb(135, 145, 32);
/* oklch */ color: oklch(62.8% 0.131 114.7);
Tailwind
colors: {
  custom: {
    50: '#adb166',
    500: '#879120',
    950: '#000000',
  },
}
SCSS
$custom: #879120;
$custom-light: #adb166;
$custom-dark: #000000;
JSON
{
  "hex": "#879120",
  "rgb": {
    "r": 135,
    "g": 145,
    "b": 32
  },
  "hsl": {
    "h": 65.31,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62808,
    "c": 0.13081,
    "h": 114.7
  },
  "luminance": 0.25506
}

Semantic roles & 50–950 ramp

primary
#879120
secondary
#5A51BC
accent
#41E750
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #879120

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

Preview Lab → · Contrast checker → · Palette generator →

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