#7D771D#7D771D

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

Color values

HEX#7D771D
RGBrgb(125, 119, 29)
HSLhsl(56, 62%, 30%)
HSVhsv(56, 77%, 49%)
CMYKcmyk(0%, 4.8%, 76.8%, 51%)
CIE-LABlab(49.06, -8.58, 47.03)
CIE-LCHlch(49.06, 47.80, 100.34°)
OKLaboklab(55.79% -0.0286 0.1034)
OKLCHoklch(55.79% 0.107 105.5)
XYZxyz(15.2767, 17.6429, 3.7629)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D771D #1D237D
analogous
#7D471D #7D771D #537D1D
triadic
#7D771D #1D7D77 #771D7D
tetradic
#7D771D #1D7D47 #1D237D #7D1D53
square
#7D771D #1D7D47 #1D237D #7D1D53
split-complementary
#7D771D #1D537D #471D7D
monochromatic
#1A1806 #4B4811 #7D771D #AFA629 #D3CA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D771D#FFFFFF#000000##FFFFFF
##7D771D1.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)
#82720B
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#876F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d771d;
/* rgb */ color: rgb(125, 119, 29);
/* oklch */ color: oklch(55.8% 0.107 105.5);
Tailwind
colors: {
  custom: {
    50: '#a69d61',
    500: '#7d771d',
    950: '#000000',
  },
}
SCSS
$custom: #7d771d;
$custom-light: #a69d61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d771d",
  "rgb": {
    "r": 125,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 56.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55792,
    "c": 0.1073,
    "h": 105.5
  },
  "luminance": 0.17642
}

Semantic roles & 50–950 ramp

primary
#7D771D
secondary
#454CB1
accent
#4DE542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D771D

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

Preview Lab → · Contrast checker → · Palette generator →

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