#777F12#777F12

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

Color values

HEX#777F12
RGBrgb(119, 127, 18)
HSLhsl(64, 75%, 28%)
HSVhsv(64, 86%, 50%)
CMYKcmyk(6.3%, 0%, 85.8%, 50.2%)
CIE-LABlab(50.86, -16.14, 51.91)
CIE-LCHlch(50.86, 54.37, 107.27°)
OKLaboklab(57.08% -0.0503 0.112)
OKLCHoklch(57.08% 0.123 114.2)
XYZxyz(15.3068, 19.1447, 3.4611)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777F12 #1A127F
analogous
#7F5012 #777F12 #407F12
triadic
#777F12 #12777F #7F1277
tetradic
#777F12 #127F50 #1A127F #7F1240
square
#777F12 #127F50 #1A127F #7F1240
split-complementary
#777F12 #12407F #50127F
monochromatic
#191B04 #45490A #777F12 #A9B51A #D3E12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##777F12#FFFFFF#000000##000000
##777F121.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)
#897A1E
Tritanopia (blue-blind)
#80776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #777f12;
/* rgb */ color: rgb(119, 127, 18);
/* oklch */ color: oklch(57.1% 0.123 114.2);
Tailwind
colors: {
  custom: {
    50: '#a2a35d',
    500: '#777f12',
    950: '#000000',
  },
}
SCSS
$custom: #777f12;
$custom-light: #a2a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#777f12",
  "rgb": {
    "r": 119,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 64.404,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57083,
    "c": 0.12276,
    "h": 114.2
  },
  "luminance": 0.19144
}

Semantic roles & 50–950 ramp

primary
#777F12
secondary
#4138B5
accent
#36F244
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #777F12

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

Preview Lab → · Contrast checker → · Palette generator →

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