#7C771D#7C771D

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

Color values

HEX#7C771D
RGBrgb(124, 119, 29)
HSLhsl(57, 62%, 30%)
HSVhsv(57, 77%, 49%)
CMYKcmyk(0%, 4%, 76.6%, 51.4%)
CIE-LABlab(48.97, -9.05, 46.91)
CIE-LCHlch(48.97, 47.77, 100.92°)
OKLaboklab(55.7% -0.0299 0.1032)
OKLCHoklch(55.7% 0.107 106.2)
XYZxyz(15.1314, 17.5680, 3.7561)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C771D #1D227C
analogous
#7C471D #7C771D #527C1D
triadic
#7C771D #1D7C77 #771D7C
tetradic
#7C771D #1D7C47 #1D227C #7C1D52
square
#7C771D #1D7C47 #1D227C #7C1D52
split-complementary
#7C771D #1D527C #471D7C
monochromatic
#191806 #4A4711 #7C771D #AEA729 #D3CB41

Accessibility & contrast

On white

4.65
#7C771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7C771D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C771D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C771D#FFFFFF#000000##FFFFFF
##7C771D1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c771d;
/* rgb */ color: rgb(124, 119, 29);
/* oklch */ color: oklch(55.7% 0.107 106.2);
Tailwind
colors: {
  custom: {
    50: '#a59e61',
    500: '#7c771d',
    950: '#000000',
  },
}
SCSS
$custom: #7c771d;
$custom-light: #a59e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c771d",
  "rgb": {
    "r": 124,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 56.842,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.55697,
    "c": 0.10744,
    "h": 106.2
  },
  "luminance": 0.17567
}

Semantic roles & 50–950 ramp

primary
#7C771D
secondary
#454BB0
accent
#4BE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C771D

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

Preview Lab → · Contrast checker → · Palette generator →

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