#777F1C#777F1C

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

Color values

HEX#777F1C
RGBrgb(119, 127, 28)
HSLhsl(65, 64%, 30%)
HSVhsv(65, 78%, 50%)
CMYKcmyk(6.3%, 0%, 78%, 50.2%)
CIE-LABlab(50.90, -15.75, 48.92)
CIE-LCHlch(50.90, 51.39, 107.85°)
OKLaboklab(57.14% -0.0484 0.1075)
OKLCHoklch(57.14% 0.118 114.2)
XYZxyz(15.4072, 19.1848, 3.9898)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777F1C #241C7F
analogous
#7F551C #777F1C #467F1C
triadic
#777F1C #1C777F #7F1C77
tetradic
#777F1C #1C7F55 #241C7F #7F1C46
square
#777F1C #1C7F55 #241C7F #7F1C46
split-complementary
#777F1C #1C467F #551C7F
monochromatic
#191B06 #484D11 #777F1C #A6B127 #C9D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##777F1C#FFFFFF#000000##000000
##777F1C1.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)
#897804
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#7F776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #777f1c;
/* rgb */ color: rgb(119, 127, 28);
/* oklch */ color: oklch(57.1% 0.118 114.2);
Tailwind
colors: {
  custom: {
    50: '#a1a461',
    500: '#777f1c',
    950: '#000000',
  },
}
SCSS
$custom: #777f1c;
$custom-light: #a1a461;
$custom-dark: #000000;
JSON
{
  "hex": "#777f1c",
  "rgb": {
    "r": 119,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 64.848,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.11786,
    "h": 114.2
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#777F1C
secondary
#4D44B3
accent
#41E74E
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #777F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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