#879124#879124

#879124 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.8% C 0.129 H 114.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#879124
RGBrgb(135, 145, 36)
HSLhsl(66, 60%, 35%)
HSVhsv(66, 75%, 57%)
CMYKcmyk(6.9%, 0%, 75.2%, 43.1%)
CIE-LABlab(57.59, -17.65, 52.85)
CIE-LCHlch(57.59, 55.72, 108.46°)
OKLaboklab(62.83% -0.0538 0.1167)
OKLCHoklch(62.83% 0.129 114.8)
XYZxyz(20.4361, 25.5294, 5.5199)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879124 #2E2491
analogous
#916524 #879124 #509124
triadic
#879124 #248791 #912487
tetradic
#879124 #249165 #2E2491 #912450
square
#879124 #249165 #2E2491 #912450
split-complementary
#879124 #245091 #652491
monochromatic
#2C2F0C #596018 #879124 #B5C230 #CAD659

Accessibility & contrast

On white

3.44
#879124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#879124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879124
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879124#FFFFFF#000000##000000
##8791241.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C890D
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#90887C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #879124;
/* rgb */ color: rgb(135, 145, 36);
/* oklch */ color: oklch(62.8% 0.129 114.8);
Tailwind
colors: {
  custom: {
    50: '#adb167',
    500: '#879124',
    950: '#000000',
  },
}
SCSS
$custom: #879124;
$custom-light: #adb167;
$custom-dark: #000000;
JSON
{
  "hex": "#879124",
  "rgb": {
    "r": 135,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 65.505,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62833,
    "c": 0.12853,
    "h": 114.8
  },
  "luminance": 0.25529
}

Semantic roles & 50–950 ramp

primary
#879124
secondary
#6056BA
accent
#44E353
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #879124

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

Preview Lab → · Contrast checker → · Palette generator →

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