#7D761F#7D761F

#7D761F is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.105 H 104.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D761F
RGBrgb(125, 118, 31)
HSLhsl(56, 60%, 31%)
HSVhsv(56, 75%, 49%)
CMYKcmyk(0%, 5.6%, 75.2%, 51%)
CIE-LABlab(48.78, -7.93, 46.00)
CIE-LCHlch(48.78, 46.68, 99.78°)
OKLaboklab(55.57% -0.0266 0.1016)
OKLCHoklch(55.57% 0.105 104.7)
XYZxyz(15.1838, 17.4164, 3.8579)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D761F #1F267D
analogous
#7D471F #7D761F #557D1F
triadic
#7D761F #1F7D76 #761F7D
tetradic
#7D761F #1F7D47 #1F267D #7D1F55
square
#7D761F #1F7D47 #1F267D #7D1F55
split-complementary
#7D761F #1F557D #471F7D
monochromatic
#1B1907 #4C4813 #7D761F #AEA42B #D1C745

Accessibility & contrast

On white

4.68
#7D761F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7D761F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D761F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D761F#FFFFFF#000000##FFFFFF
##7D761F1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#876E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d761f;
/* rgb */ color: rgb(125, 118, 31);
/* oklch */ color: oklch(55.6% 0.105 104.7);
Tailwind
colors: {
  custom: {
    50: '#a69d61',
    500: '#7d761f',
    950: '#000000',
  },
}
SCSS
$custom: #7d761f;
$custom-light: #a69d61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d761f",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 55.532,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55574,
    "c": 0.10505,
    "h": 104.7
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

primary
#7D761F
secondary
#484FB0
accent
#50E344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D761F

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

Preview Lab → · Contrast checker → · Palette generator →

#7D761F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva