#777F17#777F17

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

Color values

HEX#777F17
RGBrgb(119, 127, 23)
HSLhsl(65, 69%, 29%)
HSVhsv(65, 82%, 50%)
CMYKcmyk(6.3%, 0%, 81.9%, 50.2%)
CIE-LABlab(50.88, -15.96, 50.52)
CIE-LCHlch(50.88, 52.98, 107.54°)
OKLaboklab(57.11% -0.0494 0.1099)
OKLCHoklch(57.11% 0.121 114.2)
XYZxyz(15.3523, 19.1629, 3.7005)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777F17 #1F177F
analogous
#7F5317 #777F17 #437F17
triadic
#777F17 #17777F #7F1777
tetradic
#777F17 #177F53 #1F177F #7F1743
square
#777F17 #177F53 #1F177F #7F1743
split-complementary
#777F17 #17437F #53177F
monochromatic
#181A05 #464B0E #777F17 #A8B320 #CEDB36

Accessibility & contrast

On white

4.35
#777F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#777F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #777F17
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777F17#FFFFFF#000000##000000
##777F171.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #777f17;
/* rgb */ color: rgb(119, 127, 23);
/* oklch */ color: oklch(57.1% 0.121 114.2);
Tailwind
colors: {
  custom: {
    50: '#a2a45f',
    500: '#777f17',
    950: '#000000',
  },
}
SCSS
$custom: #777f17;
$custom-light: #a2a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#777f17",
  "rgb": {
    "r": 119,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 64.615,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57107,
    "c": 0.12053,
    "h": 114.2
  },
  "luminance": 0.19163
}

Semantic roles & 50–950 ramp

primary
#777F17
secondary
#473EB4
accent
#3CEC49
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #777F17

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

Preview Lab → · Contrast checker → · Palette generator →

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