#76871A#76871A

#76871A is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.0% C 0.129 H 118.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#76871A
RGBrgb(118, 135, 26)
HSLhsl(69, 68%, 32%)
HSVhsv(69, 81%, 53%)
CMYKcmyk(12.6%, 0%, 80.7%, 47.1%)
CIE-LABlab(53.23, -20.47, 51.67)
CIE-LCHlch(53.23, 55.58, 111.61°)
OKLaboklab(58.98% -0.0615 0.113)
OKLCHoklch(58.98% 0.129 118.6)
XYZxyz(16.3220, 21.2542, 4.2197)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76871A #2B1A87
analogous
#87621A #76871A #40871A
triadic
#76871A #1A7687 #871A76
tetradic
#76871A #1A8762 #2B1A87 #871A40
square
#76871A #1A8762 #2B1A87 #871A40
split-complementary
#76871A #1A4087 #621A87
monochromatic
#1C2006 #495410 #76871A #A3BA24 #C2DA41

Accessibility & contrast

On white

4.00
#76871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#76871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76871A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76871A#FFFFFF#000000##000000
##76871A1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#7E7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #76871a;
/* rgb */ color: rgb(118, 135, 26);
/* oklch */ color: oklch(59.0% 0.129 118.6);
Tailwind
colors: {
  custom: {
    50: '#a1a961',
    500: '#76871a',
    950: '#000000',
  },
}
SCSS
$custom: #76871a;
$custom-light: #a1a961;
$custom-dark: #000000;
JSON
{
  "hex": "#76871a",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 69.358,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5898,
    "c": 0.12865,
    "h": 118.6
  },
  "luminance": 0.21254
}

Semantic roles & 50–950 ramp

primary
#76871A
secondary
#5542BA
accent
#3DEB58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #76871A

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

Preview Lab → · Contrast checker → · Palette generator →

#76871A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva