#879018#879018

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

Color values

HEX#879018
RGBrgb(135, 144, 24)
HSLhsl(65, 71%, 33%)
HSVhsv(65, 83%, 56%)
CMYKcmyk(6.2%, 0%, 83.3%, 43.5%)
CIE-LABlab(57.23, -17.63, 56.31)
CIE-LCHlch(57.23, 59.00, 107.38°)
OKLaboklab(62.53% -0.0548 0.1219)
OKLCHoklch(62.53% 0.134 114.2)
XYZxyz(20.1304, 25.1638, 4.6606)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879018 #211890
analogous
#905D18 #879018 #4B9018
triadic
#879018 #188790 #901887
tetradic
#879018 #18905D #211890 #90184B
square
#879018 #18905D #211890 #90184B
split-complementary
#879018 #184B90 #5D1890
monochromatic
#252707 #565C0F #879018 #B8C421 #D4E043

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879018#FFFFFF#000000##000000
##8790181.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)
#9B8A24
Tritanopia (blue-blind)
#91877B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #879018;
/* rgb */ color: rgb(135, 144, 24);
/* oklch */ color: oklch(62.5% 0.134 114.2);
Tailwind
colors: {
  custom: {
    50: '#aeb062',
    500: '#879018',
    950: '#000000',
  },
}
SCSS
$custom: #879018;
$custom-light: #aeb062;
$custom-dark: #000000;
JSON
{
  "hex": "#879018",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 64.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62531,
    "c": 0.13359,
    "h": 114.2
  },
  "luminance": 0.25163
}

Semantic roles & 50–950 ramp

primary
#879018
secondary
#4D43C0
accent
#3AEE47
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #879018

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

Preview Lab → · Contrast checker → · Palette generator →

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