#76791F#76791F

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

Color values

HEX#76791F
RGBrgb(118, 121, 31)
HSLhsl(62, 59%, 30%)
HSVhsv(62, 74%, 47%)
CMYKcmyk(2.5%, 0%, 74.4%, 52.5%)
CIE-LABlab(49.04, -12.83, 46.03)
CIE-LCHlch(49.04, 47.79, 105.57°)
OKLaboklab(55.63% -0.0399 0.102)
OKLCHoklch(55.63% 0.11 111.4)
XYZxyz(14.5564, 17.6256, 3.9313)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76791F #221F79
analogous
#794F1F #76791F #49791F
triadic
#76791F #1F7679 #791F76
tetradic
#76791F #1F794F #221F79 #791F49
square
#76791F #1F794F #221F79 #791F49
split-complementary
#76791F #1F4979 #4F1F79
monochromatic
#181806 #464813 #76791F #A6AA2B #CACF43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76791F#FFFFFF#000000##FFFFFF
##76791F1.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)
#83730E
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#7E7168
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #76791f;
/* rgb */ color: rgb(118, 121, 31);
/* oklch */ color: oklch(55.6% 0.110 111.4);
Tailwind
colors: {
  custom: {
    50: '#a09f62',
    500: '#76791f',
    950: '#000000',
  },
}
SCSS
$custom: #76791f;
$custom-light: #a09f62;
$custom-dark: #000000;
JSON
{
  "hex": "#76791f",
  "rgb": {
    "r": 118,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 62,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55627,
    "c": 0.1095,
    "h": 111.4
  },
  "luminance": 0.17625
}

Semantic roles & 50–950 ramp

primary
#76791F
secondary
#4B47AC
accent
#45E24B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #76791F

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

Preview Lab → · Contrast checker → · Palette generator →

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