#76851F#76851F

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

Color values

HEX#76851F
RGBrgb(118, 133, 31)
HSLhsl(69, 62%, 32%)
HSVhsv(69, 77%, 52%)
CMYKcmyk(11.3%, 0%, 76.7%, 47.8%)
CIE-LABlab(52.65, -19.21, 49.48)
CIE-LCHlch(52.65, 53.08, 111.22°)
OKLaboklab(58.52% -0.0576 0.1092)
OKLCHoklch(58.52% 0.124 117.8)
XYZxyz(16.1064, 20.7257, 4.4480)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76851F #2E1F85
analogous
#85611F #76851F #43851F
triadic
#76851F #1F7685 #851F76
tetradic
#76851F #1F8561 #2E1F85 #851F43
square
#76851F #1F8561 #2E1F85 #851F43
split-complementary
#76851F #1F4385 #611F85
monochromatic
#1E2208 #4A5313 #76851F #A2B72B #C0D54A

Accessibility & contrast

On white

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

On black

5.15
#76851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76851F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76851F#FFFFFF#000000##000000
##76851F1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D08
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#7E7D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #76851f;
/* rgb */ color: rgb(118, 133, 31);
/* oklch */ color: oklch(58.5% 0.124 117.8);
Tailwind
colors: {
  custom: {
    50: '#a1a863',
    500: '#76851f',
    950: '#000000',
  },
}
SCSS
$custom: #76851f;
$custom-light: #a1a863;
$custom-dark: #000000;
JSON
{
  "hex": "#76851f",
  "rgb": {
    "r": 118,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 68.824,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58523,
    "c": 0.12351,
    "h": 117.8
  },
  "luminance": 0.20726
}

Semantic roles & 50–950 ramp

primary
#76851F
secondary
#5949B7
accent
#43E55A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #76851F

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

Preview Lab → · Contrast checker → · Palette generator →

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