#879331#879331

#879331 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.4% C 0.122 H 115.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#879331
RGBrgb(135, 147, 49)
HSLhsl(67, 50%, 38%)
HSVhsv(67, 67%, 58%)
CMYKcmyk(8.2%, 0%, 66.7%, 42.4%)
CIE-LABlab(58.26, -17.93, 48.44)
CIE-LCHlch(58.26, 51.65, 110.31°)
OKLaboklab(63.4% -0.0533 0.1096)
OKLCHoklch(63.4% 0.122 115.9)
XYZxyz(20.9802, 26.2404, 6.8648)
Luminance0.2624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879331 #3D3193
analogous
#936E31 #879331 #569331
triadic
#879331 #318793 #933187
tetradic
#879331 #31936E #3D3193 #933156
square
#879331 #31936E #3D3193 #933156
split-complementary
#879331 #315693 #6E3193
monochromatic
#333712 #5D6522 #879331 #B0C041 #C3CF6F

Accessibility & contrast

On white

3.36
#879331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#879331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879331
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879331#FFFFFF#000000##000000
##8793311.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B24
Deuteranopia (green-blind)
#9C8D38
Tritanopia (blue-blind)
#8F8B7F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #879331;
/* rgb */ color: rgb(135, 147, 49);
/* oklch */ color: oklch(63.4% 0.122 115.9);
Tailwind
colors: {
  custom: {
    50: '#adb26f',
    500: '#879331',
    950: '#000000',
  },
}
SCSS
$custom: #879331;
$custom-light: #adb26f;
$custom-dark: #000000;
JSON
{
  "hex": "#879331",
  "rgb": {
    "r": 135,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 67.347,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63404,
    "c": 0.12192,
    "h": 115.9
  },
  "luminance": 0.2624
}

Semantic roles & 50–950 ramp

primary
#879331
secondary
#7369B7
accent
#4EDA5F
background
#FAFAF6
surface
#F5F5EC
border
#CFCFC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #879331

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

Preview Lab → · Contrast checker → · Palette generator →

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