#879A1C#879A1C

#879A1C is a light, vivid yellow. Relative luminance 0.283; OKLCH L 64.9% C 0.143 H 118.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#879A1C
RGBrgb(135, 154, 28)
HSLhsl(69, 69%, 36%)
HSVhsv(69, 82%, 60%)
CMYKcmyk(12.3%, 0%, 81.8%, 39.6%)
CIE-LABlab(60.20, -22.59, 57.79)
CIE-LCHlch(60.20, 62.05, 111.35°)
OKLaboklab(64.92% -0.0681 0.1258)
OKLCHoklch(64.92% 0.143 118.4)
XYZxyz(21.7574, 28.3461, 5.4235)
Luminance0.2835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A1C #2F1C9A
analogous
#9A6E1C #879A1C #489A1C
triadic
#879A1C #1C879A #9A1C87
tetradic
#879A1C #1C9A6E #2F1C9A #9A1C48
square
#879A1C #1C9A6E #2F1C9A #9A1C48
split-complementary
#879A1C #1C489A #6E1C9A
monochromatic
#2C3209 #5A6613 #879A1C #B4CE25 #CADF51

Accessibility & contrast

On white

3.15
#879A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#879A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879A1C
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879A1C#FFFFFF#000000##000000
##879A1C1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#909183
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #879a1c;
/* rgb */ color: rgb(135, 154, 28);
/* oklch */ color: oklch(64.9% 0.143 118.4);
Tailwind
colors: {
  custom: {
    50: '#aeb765',
    500: '#879a1c',
    950: '#000000',
  },
}
SCSS
$custom: #879a1c;
$custom-light: #aeb765;
$custom-dark: #000000;
JSON
{
  "hex": "#879a1c",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 28
  },
  "hsl": {
    "h": 69.048,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6492,
    "c": 0.14302,
    "h": 118.4
  },
  "luminance": 0.28346
}

Semantic roles & 50–950 ramp

primary
#879A1C
secondary
#6150C2
accent
#3CEC56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879A1C

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

Preview Lab → · Contrast checker → · Palette generator →

#879A1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva