#879015#879015

#879015 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.5% C 0.135 H 114.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#879015
RGBrgb(135, 144, 21)
HSLhsl(64, 75%, 32%)
HSVhsv(64, 85%, 56%)
CMYKcmyk(6.2%, 0%, 85.4%, 43.5%)
CIE-LABlab(57.22, -17.72, 57.07)
CIE-LCHlch(57.22, 59.76, 107.25°)
OKLaboklab(62.52% -0.0552 0.123)
OKLCHoklch(62.52% 0.135 114.2)
XYZxyz(20.1009, 25.1520, 4.5053)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879015 #1E1590
analogous
#905B15 #879015 #4A9015
triadic
#879015 #158790 #901587
tetradic
#879015 #15905B #1E1590 #90154A
square
#879015 #15905B #1E1590 #90154A
split-complementary
#879015 #154A90 #5B1590
monochromatic
#232505 #555B0D #879015 #B9C51D #D7E33D

Accessibility & contrast

On white

3.48
#879015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#879015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879015
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879015#FFFFFF#000000##000000
##8790151.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9B8A22
Tritanopia (blue-blind)
#91877A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #879015;
/* rgb */ color: rgb(135, 144, 21);
/* oklch */ color: oklch(62.5% 0.135 114.2);
Tailwind
colors: {
  custom: {
    50: '#aeb061',
    500: '#879015',
    950: '#000000',
  },
}
SCSS
$custom: #879015;
$custom-light: #aeb061;
$custom-dark: #000000;
JSON
{
  "hex": "#879015",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 64.39,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62518,
    "c": 0.13482,
    "h": 114.2
  },
  "luminance": 0.25152
}

Semantic roles & 50–950 ramp

primary
#879015
secondary
#483EC2
accent
#37F144
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #879015

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

Preview Lab → · Contrast checker → · Palette generator →

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