#76841B#76841B

#76841B is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.3% C 0.125 H 117.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#76841B
RGBrgb(118, 132, 27)
HSLhsl(68, 66%, 31%)
HSVhsv(68, 80%, 52%)
CMYKcmyk(10.6%, 0%, 79.5%, 48.2%)
CIE-LABlab(52.32, -18.88, 50.54)
CIE-LCHlch(52.32, 53.95, 110.48°)
OKLaboklab(58.26% -0.0571 0.1107)
OKLCHoklch(58.26% 0.125 117.3)
XYZxyz(15.9207, 20.4334, 4.1420)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76841B #291B84
analogous
#845D1B #76841B #41841B
triadic
#76841B #1B7684 #841B76
tetradic
#76841B #1B845D #291B84 #841B41
square
#76841B #1B845D #291B84 #841B41
split-complementary
#76841B #1B4184 #5D1B84
monochromatic
#1B1E06 #495111 #76841B #A3B725 #C4D841

Accessibility & contrast

On white

4.13
#76841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#76841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76841B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76841B#FFFFFF#000000##000000
##76841B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#7E7C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #76841b;
/* rgb */ color: rgb(118, 132, 27);
/* oklch */ color: oklch(58.3% 0.125 117.3);
Tailwind
colors: {
  custom: {
    50: '#a1a761',
    500: '#76841b',
    950: '#000000',
  },
}
SCSS
$custom: #76841b;
$custom-light: #a1a761;
$custom-dark: #000000;
JSON
{
  "hex": "#76841b",
  "rgb": {
    "r": 118,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 68,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.12459,
    "h": 117.3
  },
  "luminance": 0.20433
}

Semantic roles & 50–950 ramp

primary
#76841B
secondary
#5343B7
accent
#3FE956
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #76841B

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

Preview Lab → · Contrast checker → · Palette generator →

#76841B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva