#76781F#76781F

#76781F is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.4% C 0.108 H 110.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#76781F
RGBrgb(118, 120, 31)
HSLhsl(61, 59%, 30%)
HSVhsv(61, 74%, 47%)
CMYKcmyk(1.7%, 0%, 74.2%, 52.9%)
CIE-LABlab(48.74, -12.28, 45.74)
CIE-LCHlch(48.74, 47.36, 105.03°)
OKLaboklab(55.39% -0.0384 0.1014)
OKLCHoklch(55.39% 0.108 110.8)
XYZxyz(14.4355, 17.3838, 3.8910)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76781F #211F78
analogous
#784D1F #76781F #4A781F
triadic
#76781F #1F7678 #781F76
tetradic
#76781F #1F784D #211F78 #781F4A
square
#76781F #1F784D #211F78 #781F4A
split-complementary
#76781F #1F4A78 #4D1F78
monochromatic
#181806 #464712 #76781F #A6A92C #CBCE43

Accessibility & contrast

On white

4.69
#76781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#76781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #76781F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76781F#FFFFFF#000000##FFFFFF
##76781F1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720F
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#7F7067
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #76781f;
/* rgb */ color: rgb(118, 120, 31);
/* oklch */ color: oklch(55.4% 0.108 110.8);
Tailwind
colors: {
  custom: {
    50: '#a09e62',
    500: '#76781f',
    950: '#000000',
  },
}
SCSS
$custom: #76781f;
$custom-light: #a09e62;
$custom-dark: #000000;
JSON
{
  "hex": "#76781f",
  "rgb": {
    "r": 118,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 61.348,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55388,
    "c": 0.10838,
    "h": 110.8
  },
  "luminance": 0.17383
}

Semantic roles & 50–950 ramp

primary
#76781F
secondary
#4A47AB
accent
#46E249
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #76781F

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

Preview Lab → · Contrast checker → · Palette generator →

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