#879B18#879B18

#879B18 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.1% C 0.146 H 118.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#879B18
RGBrgb(135, 155, 24)
HSLhsl(69, 73%, 35%)
HSVhsv(69, 85%, 61%)
CMYKcmyk(12.9%, 0%, 84.5%, 39.2%)
CIE-LABlab(60.48, -23.23, 59.10)
CIE-LCHlch(60.48, 63.50, 111.46°)
OKLaboklab(65.14% -0.0701 0.1279)
OKLCHoklch(65.14% 0.146 118.7)
XYZxyz(21.8784, 28.6597, 5.2433)
Luminance0.2866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879B18 #2C189B
analogous
#9B6D18 #879B18 #469B18
triadic
#879B18 #18879B #9B1887
tetradic
#879B18 #189B6D #2C189B #9B1846
square
#879B18 #189B6D #2C189B #9B1846
split-complementary
#879B18 #18469B #6D189B
monochromatic
#2B3108 #596610 #879B18 #B5D020 #CCE34A

Accessibility & contrast

On white

3.12
#879B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#879B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879B18
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879B18#FFFFFF#000000##000000
##879B181.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A49227
Tritanopia (blue-blind)
#909284
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #879b18;
/* rgb */ color: rgb(135, 155, 24);
/* oklch */ color: oklch(65.1% 0.146 118.7);
Tailwind
colors: {
  custom: {
    50: '#aeb864',
    500: '#879b18',
    950: '#000000',
  },
}
SCSS
$custom: #879b18;
$custom-light: #aeb864;
$custom-dark: #000000;
JSON
{
  "hex": "#879b18",
  "rgb": {
    "r": 135,
    "g": 155,
    "b": 24
  },
  "hsl": {
    "h": 69.16,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6514,
    "c": 0.14585,
    "h": 118.7
  },
  "luminance": 0.2866
}

Semantic roles & 50–950 ramp

primary
#879B18
secondary
#5D4AC5
accent
#38F054
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879B18

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

Preview Lab → · Contrast checker → · Palette generator →

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