#777D1F#777D1F

#777D1F is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.7% C 0.114 H 113.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#777D1F
RGBrgb(119, 125, 31)
HSLhsl(64, 60%, 31%)
HSVhsv(64, 75%, 49%)
CMYKcmyk(4.8%, 0%, 75.2%, 51%)
CIE-LABlab(50.32, -14.53, 47.29)
CIE-LCHlch(50.32, 49.48, 107.08°)
OKLaboklab(56.67% -0.0447 0.1046)
OKLCHoklch(56.67% 0.114 113.2)
XYZxyz(15.1892, 18.6884, 4.1032)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777D1F #251F7D
analogous
#7D541F #777D1F #487D1F
triadic
#777D1F #1F777D #7D1F77
tetradic
#777D1F #1F7D54 #251F7D #7D1F48
square
#777D1F #1F7D54 #251F7D #7D1F48
split-complementary
#777D1F #1F487D #541F7D
monochromatic
#1A1B07 #484C13 #777D1F #A6AE2B #C8D145

Accessibility & contrast

On white

4.43
#777D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#777D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #777D1F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777D1F#FFFFFF#000000##000000
##777D1F1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770C
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#7F756B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #777d1f;
/* rgb */ color: rgb(119, 125, 31);
/* oklch */ color: oklch(56.7% 0.114 113.2);
Tailwind
colors: {
  custom: {
    50: '#a1a262',
    500: '#777d1f',
    950: '#000000',
  },
}
SCSS
$custom: #777d1f;
$custom-light: #a1a262;
$custom-dark: #000000;
JSON
{
  "hex": "#777d1f",
  "rgb": {
    "r": 119,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 63.83,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.11376,
    "h": 113.2
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#777D1F
secondary
#4E48B0
accent
#44E34F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F05
muted
#7F7E7A

Preview Lab

Preview with #777D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#777D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva