#879823#879823

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

Color values

HEX#879823
RGBrgb(135, 152, 35)
HSLhsl(69, 63%, 37%)
HSVhsv(69, 77%, 60%)
CMYKcmyk(11.2%, 0%, 77%, 40.4%)
CIE-LABlab(59.64, -21.28, 55.13)
CIE-LCHlch(59.64, 59.10, 111.11°)
OKLaboklab(64.48% -0.064 0.1213)
OKLCHoklch(64.48% 0.137 117.8)
XYZxyz(21.5238, 27.7289, 5.8081)
Luminance0.2773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879823 #342398
analogous
#986F23 #879823 #4D9823
triadic
#879823 #238798 #982387
tetradic
#879823 #23986F #342398 #98234D
square
#879823 #23986F #342398 #98234D
split-complementary
#879823 #234D98 #6F2398
monochromatic
#2F350C #5B6618 #879823 #B3CA2E #C7D95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879823#FFFFFF#000000##000000
##8798231.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)
#A38F05
Deuteranopia (green-blind)
#A1902E
Tritanopia (blue-blind)
#908F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #879823;
/* rgb */ color: rgb(135, 152, 35);
/* oklch */ color: oklch(64.5% 0.137 117.8);
Tailwind
colors: {
  custom: {
    50: '#adb668',
    500: '#879823',
    950: '#000000',
  },
}
SCSS
$custom: #879823;
$custom-light: #adb668;
$custom-dark: #000000;
JSON
{
  "hex": "#879823",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 68.718,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64482,
    "c": 0.13718,
    "h": 117.8
  },
  "luminance": 0.27729
}

Semantic roles & 50–950 ramp

primary
#879823
secondary
#6759BE
accent
#42E65A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879823

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

Preview Lab → · Contrast checker → · Palette generator →

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