#879418#879418

#879418 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.5% C 0.138 H 116.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#879418
RGBrgb(135, 148, 24)
HSLhsl(66, 72%, 34%)
HSVhsv(66, 84%, 58%)
CMYKcmyk(8.8%, 0%, 83.8%, 42%)
CIE-LABlab(58.41, -19.69, 57.32)
CIE-LCHlch(58.41, 60.61, 108.96°)
OKLaboklab(63.48% -0.0604 0.124)
OKLCHoklch(63.48% 0.138 116)
XYZxyz(20.7470, 26.3970, 4.8662)
Luminance0.2640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879418 #251894
analogous
#946318 #879418 #499418
triadic
#879418 #188794 #941887
tetradic
#879418 #189463 #251894 #941849
square
#879418 #189463 #251894 #941849
split-complementary
#879418 #184994 #631894
monochromatic
#272B07 #575F0F #879418 #B7C921 #D1E145

Accessibility & contrast

On white

3.34
#879418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#879418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879418
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879418#FFFFFF#000000##000000
##8794181.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9E8D25
Tritanopia (blue-blind)
#908B7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #879418;
/* rgb */ color: rgb(135, 148, 24);
/* oklch */ color: oklch(63.5% 0.138 116.0);
Tailwind
colors: {
  custom: {
    50: '#aeb363',
    500: '#879418',
    950: '#000000',
  },
}
SCSS
$custom: #879418;
$custom-light: #aeb363;
$custom-dark: #000000;
JSON
{
  "hex": "#879418",
  "rgb": {
    "r": 135,
    "g": 148,
    "b": 24
  },
  "hsl": {
    "h": 66.29,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.63476,
    "c": 0.13799,
    "h": 116
  },
  "luminance": 0.26397
}

Semantic roles & 50–950 ramp

primary
#879418
secondary
#5346C2
accent
#39EF4C
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #879418

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

Preview Lab → · Contrast checker → · Palette generator →

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