#879A1E#879A1E

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

Color values

HEX#879A1E
RGBrgb(135, 154, 30)
HSLhsl(69, 67%, 36%)
HSVhsv(69, 81%, 60%)
CMYKcmyk(12.3%, 0%, 80.5%, 39.6%)
CIE-LABlab(60.21, -22.51, 57.22)
CIE-LCHlch(60.21, 61.49, 111.47°)
OKLaboklab(64.93% -0.0678 0.1249)
OKLCHoklch(64.93% 0.142 118.5)
XYZxyz(21.7821, 28.3560, 5.5538)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A1E #311E9A
analogous
#9A6F1E #879A1E #499A1E
triadic
#879A1E #1E879A #9A1E87
tetradic
#879A1E #1E9A6F #311E9A #9A1E49
square
#879A1E #1E9A6F #311E9A #9A1E49
split-complementary
#879A1E #1E499A #6F1E9A
monochromatic
#2D340A #5A6714 #879A1E #B4CD28 #C9DE55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879A1E#FFFFFF#000000##000000
##879A1E1.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)
#A3922A
Tritanopia (blue-blind)
#909183
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #879a1e;
/* rgb */ color: rgb(135, 154, 30);
/* oklch */ color: oklch(64.9% 0.142 118.5);
Tailwind
colors: {
  custom: {
    50: '#adb766',
    500: '#879a1e',
    950: '#000000',
  },
}
SCSS
$custom: #879a1e;
$custom-light: #adb766;
$custom-dark: #000000;
JSON
{
  "hex": "#879a1e",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 30
  },
  "hsl": {
    "h": 69.194,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6493,
    "c": 0.14208,
    "h": 118.5
  },
  "luminance": 0.28356
}

Semantic roles & 50–950 ramp

primary
#879A1E
secondary
#6453C1
accent
#3EEA58
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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