#879727#879727

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

Color values

HEX#879727
RGBrgb(135, 151, 39)
HSLhsl(69, 59%, 37%)
HSVhsv(69, 74%, 59%)
CMYKcmyk(10.6%, 0%, 74.2%, 40.8%)
CIE-LABlab(59.37, -20.58, 53.48)
CIE-LCHlch(59.37, 57.31, 111.04°)
OKLaboklab(64.27% -0.0617 0.1186)
OKLCHoklch(64.27% 0.134 117.5)
XYZxyz(21.4250, 27.4308, 6.0851)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879727 #372797
analogous
#976F27 #879727 #4F9727
triadic
#879727 #278797 #972787
tetradic
#879727 #27976F #372797 #97274F
square
#879727 #27976F #372797 #97274F
split-complementary
#879727 #274F97 #6F2797
monochromatic
#30360E #5C661A #879727 #B2C834 #C6D662

Accessibility & contrast

On white

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

On black

6.49
#879727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879727
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879727#FFFFFF#000000##000000
##8797271.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879727;
/* rgb */ color: rgb(135, 151, 39);
/* oklch */ color: oklch(64.3% 0.134 117.5);
Tailwind
colors: {
  custom: {
    50: '#adb56a',
    500: '#879727',
    950: '#000000',
  },
}
SCSS
$custom: #879727;
$custom-light: #adb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#879727",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 68.571,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64271,
    "c": 0.13366,
    "h": 117.5
  },
  "luminance": 0.27431
}

Semantic roles & 50–950 ramp

primary
#879727
secondary
#6B5EBC
accent
#46E25C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879727

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

Preview Lab → · Contrast checker → · Palette generator →

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