#7C771E#7C771E

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

Color values

HEX#7C771E
RGBrgb(124, 119, 30)
HSLhsl(57, 61%, 30%)
HSVhsv(57, 76%, 49%)
CMYKcmyk(0%, 4%, 75.8%, 51.4%)
CIE-LABlab(48.97, -9.00, 46.54)
CIE-LCHlch(48.97, 47.40, 100.94°)
OKLaboklab(55.7% -0.0297 0.1026)
OKLCHoklch(55.7% 0.107 106.1)
XYZxyz(15.1440, 17.5730, 3.8223)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C771E #1E237C
analogous
#7C481E #7C771E #527C1E
triadic
#7C771E #1E7C77 #771E7C
tetradic
#7C771E #1E7C48 #1E237C #7C1E52
square
#7C771E #1E7C48 #1E237C #7C1E52
split-complementary
#7C771E #1E527C #481E7C
monochromatic
#191806 #4B4812 #7C771E #ADA62A #D1CA43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C771E#FFFFFF#000000##FFFFFF
##7C771E1.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)
#82720D
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#866F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c771e;
/* rgb */ color: rgb(124, 119, 30);
/* oklch */ color: oklch(55.7% 0.107 106.1);
Tailwind
colors: {
  custom: {
    50: '#a59e61',
    500: '#7c771e',
    950: '#000000',
  },
}
SCSS
$custom: #7c771e;
$custom-light: #a59e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c771e",
  "rgb": {
    "r": 124,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 56.809,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55704,
    "c": 0.10681,
    "h": 106.1
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#7C771E
secondary
#464CAF
accent
#4CE444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C771E

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

Preview Lab → · Contrast checker → · Palette generator →

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