#7B771C#7B771C

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

Color values

HEX#7B771C
RGBrgb(123, 119, 28)
HSLhsl(57, 63%, 30%)
HSVhsv(57, 77%, 48%)
CMYKcmyk(0%, 3.3%, 77.2%, 51.8%)
CIE-LABlab(48.87, -9.56, 47.15)
CIE-LCHlch(48.87, 48.11, 101.46°)
OKLaboklab(55.6% -0.0314 0.1036)
OKLCHoklch(55.6% 0.108 106.9)
XYZxyz(14.9754, 17.4890, 3.6853)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B771C #1C207B
analogous
#7B481C #7B771C #4F7B1C
triadic
#7B771C #1C7B77 #771C7B
tetradic
#7B771C #1C7B48 #1C207B #7B1C4F
square
#7B771C #1C7B48 #1C207B #7B1C4F
split-complementary
#7B771C #1C4F7B #481C7B
monochromatic
#191806 #494711 #7B771C #ADA727 #D3CD3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B771C#FFFFFF#000000##FFFFFF
##7B771C1.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)
#827208
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#846F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b771c;
/* rgb */ color: rgb(123, 119, 28);
/* oklch */ color: oklch(55.6% 0.108 106.9);
Tailwind
colors: {
  custom: {
    50: '#a49e60',
    500: '#7b771c',
    950: '#000000',
  },
}
SCSS
$custom: #7b771c;
$custom-light: #a49e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b771c",
  "rgb": {
    "r": 123,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 57.474,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55595,
    "c": 0.1082,
    "h": 106.9
  },
  "luminance": 0.17488
}

Semantic roles & 50–950 ramp

primary
#7B771C
secondary
#4448AF
accent
#49E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B771C

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

Preview Lab → · Contrast checker → · Palette generator →

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