#777F1A#777F1A

#777F1A is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.1% C 0.119 H 114.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#777F1A
RGBrgb(119, 127, 26)
HSLhsl(65, 66%, 30%)
HSVhsv(65, 80%, 50%)
CMYKcmyk(6.3%, 0%, 79.5%, 50.2%)
CIE-LABlab(50.89, -15.84, 49.59)
CIE-LCHlch(50.89, 52.05, 107.72°)
OKLaboklab(57.12% -0.0488 0.1085)
OKLCHoklch(57.12% 0.119 114.2)
XYZxyz(15.3840, 19.1756, 3.8679)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777F1A #221A7F
analogous
#7F541A #777F1A #457F1A
triadic
#777F1A #1A777F #7F1A77
tetradic
#777F1A #1A7F54 #221A7F #7F1A45
square
#777F1A #1A7F54 #221A7F #7F1A45
split-complementary
#777F1A #1A457F #541A7F
monochromatic
#181905 #474C10 #777F1A #A7B224 #CBD73C

Accessibility & contrast

On white

4.34
#777F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#777F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #777F1A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777F1A#FFFFFF#000000##000000
##777F1A1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#7F776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #777f1a;
/* rgb */ color: rgb(119, 127, 26);
/* oklch */ color: oklch(57.1% 0.119 114.2);
Tailwind
colors: {
  custom: {
    50: '#a1a460',
    500: '#777f1a',
    950: '#000000',
  },
}
SCSS
$custom: #777f1a;
$custom-light: #a1a460;
$custom-dark: #000000;
JSON
{
  "hex": "#777f1a",
  "rgb": {
    "r": 119,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 64.752,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.11898,
    "h": 114.2
  },
  "luminance": 0.19175
}

Semantic roles & 50–950 ramp

primary
#777F1A
secondary
#4B42B3
accent
#3FE94C
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #777F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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