#76871F#76871F

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

Color values

HEX#76871F
RGBrgb(118, 135, 31)
HSLhsl(70, 63%, 33%)
HSVhsv(70, 77%, 53%)
CMYKcmyk(12.6%, 0%, 77%, 47.1%)
CIE-LABlab(53.25, -20.24, 50.05)
CIE-LCHlch(53.25, 53.99, 112.02°)
OKLaboklab(59.01% -0.0605 0.1104)
OKLCHoklch(59.01% 0.126 118.7)
XYZxyz(16.3829, 21.2786, 4.5402)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76871F #301F87
analogous
#87641F #76871F #42871F
triadic
#76871F #1F7687 #871F76
tetradic
#76871F #1F8764 #301F87 #871F42
square
#76871F #1F8764 #301F87 #871F42
split-complementary
#76871F #1F4287 #641F87
monochromatic
#1F2308 #4A5514 #76871F #A2B92A #BFD64B

Accessibility & contrast

On white

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

On black

5.26
#76871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76871F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76871F#FFFFFF#000000##000000
##76871F1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F07
Deuteranopia (green-blind)
#8E8028
Tritanopia (blue-blind)
#7D7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #76871f;
/* rgb */ color: rgb(118, 135, 31);
/* oklch */ color: oklch(59.0% 0.126 118.7);
Tailwind
colors: {
  custom: {
    50: '#a1a963',
    500: '#76871f',
    950: '#000000',
  },
}
SCSS
$custom: #76871f;
$custom-light: #a1a963;
$custom-dark: #000000;
JSON
{
  "hex": "#76871f",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 69.808,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59009,
    "c": 0.12592,
    "h": 118.7
  },
  "luminance": 0.21278
}

Semantic roles & 50–950 ramp

primary
#76871F
secondary
#5C4AB8
accent
#42E65D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #76871F

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

Preview Lab → · Contrast checker → · Palette generator →

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