#879229#879229

#879229 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.1% C 0.127 H 115.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#879229
RGBrgb(135, 146, 41)
HSLhsl(66, 56%, 37%)
HSVhsv(66, 72%, 57%)
CMYKcmyk(7.5%, 0%, 71.9%, 42.7%)
CIE-LABlab(57.91, -17.90, 51.32)
CIE-LCHlch(57.91, 54.35, 109.23°)
OKLaboklab(63.1% -0.0541 0.1144)
OKLCHoklch(63.1% 0.127 115.3)
XYZxyz(20.6713, 25.8691, 6.0017)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879229 #342992
analogous
#926929 #879229 #539229
triadic
#879229 #298792 #922987
tetradic
#879229 #299269 #342992 #922953
square
#879229 #299269 #342992 #922953
split-complementary
#879229 #295392 #692992
monochromatic
#2F320E #5B621C #879229 #B3C236 #C7D362

Accessibility & contrast

On white

3.40
#879229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#879229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879229
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879229#FFFFFF#000000##000000
##8792291.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A17
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#90897D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #879229;
/* rgb */ color: rgb(135, 146, 41);
/* oklch */ color: oklch(63.1% 0.127 115.3);
Tailwind
colors: {
  custom: {
    50: '#adb16a',
    500: '#879229',
    950: '#000000',
  },
}
SCSS
$custom: #879229;
$custom-light: #adb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#879229",
  "rgb": {
    "r": 135,
    "g": 146,
    "b": 41
  },
  "hsl": {
    "h": 66.286,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63103,
    "c": 0.1265,
    "h": 115.3
  },
  "luminance": 0.25869
}

Semantic roles & 50–950 ramp

primary
#879229
secondary
#675EB9
accent
#48DF58
background
#FAFAF6
surface
#F5F5EB
border
#CFCFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #879229

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

Preview Lab → · Contrast checker → · Palette generator →

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