#7D771E#7D771E

#7D771E is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.107 H 105.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D771E
RGBrgb(125, 119, 30)
HSLhsl(56, 61%, 30%)
HSVhsv(56, 76%, 49%)
CMYKcmyk(0%, 4.8%, 76%, 51%)
CIE-LABlab(49.07, -8.53, 46.66)
CIE-LCHlch(49.07, 47.43, 100.36°)
OKLaboklab(55.8% -0.0284 0.1028)
OKLCHoklch(55.8% 0.107 105.4)
XYZxyz(15.2893, 17.6479, 3.8291)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D771E #1E247D
analogous
#7D481E #7D771E #537D1E
triadic
#7D771E #1E7D77 #771E7D
tetradic
#7D771E #1E7D48 #1E247D #7D1E53
square
#7D771E #1E7D48 #1E247D #7D1E53
split-complementary
#7D771E #1E537D #481E7D
monochromatic
#1A1906 #4C4812 #7D771E #AEA62A #D2C943

Accessibility & contrast

On white

4.64
#7D771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7D771E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D771E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D771E#FFFFFF#000000##FFFFFF
##7D771E1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720D
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#876F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d771e;
/* rgb */ color: rgb(125, 119, 30);
/* oklch */ color: oklch(55.8% 0.107 105.4);
Tailwind
colors: {
  custom: {
    50: '#a69d61',
    500: '#7d771e',
    950: '#000000',
  },
}
SCSS
$custom: #7d771e;
$custom-light: #a69d61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d771e",
  "rgb": {
    "r": 125,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 56.211,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.10668,
    "h": 105.4
  },
  "luminance": 0.17647
}

Semantic roles & 50–950 ramp

primary
#7D771E
secondary
#464DB0
accent
#4EE443
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D771E

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

Preview Lab → · Contrast checker → · Palette generator →

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