#879027#879027

#879027 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.126 H 114.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#879027
RGBrgb(135, 144, 39)
HSLhsl(65, 57%, 36%)
HSVhsv(65, 73%, 56%)
CMYKcmyk(6.2%, 0%, 72.9%, 43.5%)
CIE-LABlab(57.31, -16.97, 51.49)
CIE-LCHlch(57.31, 54.22, 108.24°)
OKLaboklab(62.62% -0.0517 0.1144)
OKLCHoklch(62.62% 0.126 114.3)
XYZxyz(20.3317, 25.2443, 5.7207)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879027 #302790
analogous
#906427 #879027 #529027
triadic
#879027 #278790 #902787
tetradic
#879027 #279064 #302790 #902752
square
#879027 #279064 #302790 #902752
split-complementary
#879027 #275290 #642790
monochromatic
#2D300D #5A601A #879027 #B4C034 #C9D35E

Accessibility & contrast

On white

3.47
#879027 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#879027 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879027
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879027#FFFFFF#000000##000000
##8790271.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#9A8B2F
Tritanopia (blue-blind)
#90877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #879027;
/* rgb */ color: rgb(135, 144, 39);
/* oklch */ color: oklch(62.6% 0.126 114.3);
Tailwind
colors: {
  custom: {
    50: '#adb069',
    500: '#879027',
    950: '#000000',
  },
}
SCSS
$custom: #879027;
$custom-light: #adb069;
$custom-dark: #000000;
JSON
{
  "hex": "#879027",
  "rgb": {
    "r": 135,
    "g": 144,
    "b": 39
  },
  "hsl": {
    "h": 65.143,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62618,
    "c": 0.12551,
    "h": 114.3
  },
  "luminance": 0.25244
}

Semantic roles & 50–950 ramp

primary
#879027
secondary
#625AB9
accent
#47E154
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #879027

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

Preview Lab → · Contrast checker → · Palette generator →

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