#76851B#76851B

#76851B is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.5% C 0.126 H 117.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#76851B
RGBrgb(118, 133, 27)
HSLhsl(68, 66%, 31%)
HSVhsv(68, 80%, 52%)
CMYKcmyk(11.3%, 0%, 79.7%, 47.8%)
CIE-LABlab(52.63, -19.40, 50.81)
CIE-LCHlch(52.63, 54.39, 110.89°)
OKLaboklab(58.5% -0.0585 0.1113)
OKLCHoklch(58.5% 0.126 117.7)
XYZxyz(16.0570, 20.7059, 4.1875)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76851B #2A1B85
analogous
#855F1B #76851B #41851B
triadic
#76851B #1B7685 #851B76
tetradic
#76851B #1B855F #2A1B85 #851B41
square
#76851B #1B855F #2A1B85 #851B41
split-complementary
#76851B #1B4185 #5F1B85
monochromatic
#1C1F06 #495211 #76851B #A3B825 #C3D942

Accessibility & contrast

On white

4.08
#76851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#76851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76851B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76851B#FFFFFF#000000##000000
##76851B1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#7E7D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #76851b;
/* rgb */ color: rgb(118, 133, 27);
/* oklch */ color: oklch(58.5% 0.126 117.7);
Tailwind
colors: {
  custom: {
    50: '#a1a861',
    500: '#76851b',
    950: '#000000',
  },
}
SCSS
$custom: #76851b;
$custom-light: #a1a861;
$custom-dark: #000000;
JSON
{
  "hex": "#76851b",
  "rgb": {
    "r": 118,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 68.491,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.12577,
    "h": 117.7
  },
  "luminance": 0.20706
}

Semantic roles & 50–950 ramp

primary
#76851B
secondary
#5444B8
accent
#3FE957
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #76851B

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

Preview Lab → · Contrast checker → · Palette generator →

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