#76781A#76781A

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

Color values

HEX#76781A
RGBrgb(118, 120, 26)
HSLhsl(61, 64%, 29%)
HSVhsv(61, 78%, 47%)
CMYKcmyk(1.7%, 0%, 78.3%, 52.9%)
CIE-LABlab(48.71, -12.53, 47.55)
CIE-LCHlch(48.71, 49.18, 104.76°)
OKLaboklab(55.36% -0.0396 0.1042)
OKLCHoklch(55.36% 0.111 110.8)
XYZxyz(14.3746, 17.3595, 3.5706)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76781A #1C1A78
analogous
#784B1A #76781A #47781A
triadic
#76781A #1A7678 #781A76
tetradic
#76781A #1A784B #1C1A78 #781A47
square
#76781A #1A784B #1C1A78 #781A47
split-complementary
#76781A #1A4778 #4B1A78
monochromatic
#191905 #45460F #76781A #A7AA25 #D1D438

Accessibility & contrast

On white

4.70
#76781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#76781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #76781A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76781A#FFFFFF#000000##FFFFFF
##76781A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827204
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#7F7066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #76781a;
/* rgb */ color: rgb(118, 120, 26);
/* oklch */ color: oklch(55.4% 0.111 110.8);
Tailwind
colors: {
  custom: {
    50: '#a19e5f',
    500: '#76781a',
    950: '#000000',
  },
}
SCSS
$custom: #76781a;
$custom-light: #a19e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#76781a",
  "rgb": {
    "r": 118,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 61.277,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.11147,
    "h": 110.8
  },
  "luminance": 0.17359
}

Semantic roles & 50–950 ramp

primary
#76781A
secondary
#4441AC
accent
#40E744
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #76781A

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

Preview Lab → · Contrast checker → · Palette generator →

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