#7B771D#7B771D

#7B771D is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.108 H 106.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7B771D
RGBrgb(123, 119, 29)
HSLhsl(57, 62%, 30%)
HSVhsv(57, 76%, 48%)
CMYKcmyk(0%, 3.3%, 76.4%, 51.8%)
CIE-LABlab(48.88, -9.51, 46.79)
CIE-LCHlch(48.88, 47.75, 101.49°)
OKLaboklab(55.6% -0.0311 0.103)
OKLCHoklch(55.6% 0.108 106.8)
XYZxyz(14.9876, 17.4938, 3.7493)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B771D #1D217B
analogous
#7B481D #7B771D #507B1D
triadic
#7B771D #1D7B77 #771D7B
tetradic
#7B771D #1D7B48 #1D217B #7B1D50
square
#7B771D #1D7B48 #1D217B #7B1D50
split-complementary
#7B771D #1D507B #481D7B
monochromatic
#191806 #494711 #7B771D #ADA729 #D2CC40

Accessibility & contrast

On white

4.67
#7B771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7B771D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B771D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B771D#FFFFFF#000000##FFFFFF
##7B771D1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720B
Deuteranopia (green-blind)
#837624
Tritanopia (blue-blind)
#846F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b771d;
/* rgb */ color: rgb(123, 119, 29);
/* oklch */ color: oklch(55.6% 0.108 106.8);
Tailwind
colors: {
  custom: {
    50: '#a49e60',
    500: '#7b771d',
    950: '#000000',
  },
}
SCSS
$custom: #7b771d;
$custom-light: #a49e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b771d",
  "rgb": {
    "r": 123,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 57.447,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55602,
    "c": 0.10759,
    "h": 106.8
  },
  "luminance": 0.17493
}

Semantic roles & 50–950 ramp

primary
#7B771D
secondary
#454AAF
accent
#4AE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B771D

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

Preview Lab → · Contrast checker → · Palette generator →

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