#76791B#76791B

#76791B is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.6% C 0.112 H 111.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#76791B
RGBrgb(118, 121, 27)
HSLhsl(62, 64%, 29%)
HSVhsv(62, 78%, 47%)
CMYKcmyk(2.5%, 0%, 77.7%, 52.5%)
CIE-LABlab(49.01, -13.03, 47.48)
CIE-LCHlch(49.01, 49.24, 105.34°)
OKLaboklab(55.6% -0.0409 0.1043)
OKLCHoklch(55.6% 0.112 111.4)
XYZxyz(14.5069, 17.6058, 3.6708)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76791B #1E1B79
analogous
#794D1B #76791B #47791B
triadic
#76791B #1B7679 #791B76
tetradic
#76791B #1B794D #1E1B79 #791B47
square
#76791B #1B794D #1E1B79 #791B47
split-complementary
#76791B #1B4779 #4D1B79
monochromatic
#181906 #454710 #76791B #A7AB26 #CED33B

Accessibility & contrast

On white

4.64
#76791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#76791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #76791B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76791B#FFFFFF#000000##FFFFFF
##76791B1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837305
Deuteranopia (green-blind)
#837623
Tritanopia (blue-blind)
#7F7167
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #76791b;
/* rgb */ color: rgb(118, 121, 27);
/* oklch */ color: oklch(55.6% 0.112 111.4);
Tailwind
colors: {
  custom: {
    50: '#a19f60',
    500: '#76791b',
    950: '#000000',
  },
}
SCSS
$custom: #76791b;
$custom-light: #a19f60;
$custom-dark: #000000;
JSON
{
  "hex": "#76791b",
  "rgb": {
    "r": 118,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 61.915,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.556,
    "c": 0.11198,
    "h": 111.4
  },
  "luminance": 0.17605
}

Semantic roles & 50–950 ramp

primary
#76791B
secondary
#4643AD
accent
#41E747
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #76791B

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

Preview Lab → · Contrast checker → · Palette generator →

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