#777D12#777D12

#777D12 is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.121 H 113.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#777D12
RGBrgb(119, 125, 18)
HSLhsl(63, 75%, 28%)
HSVhsv(63, 86%, 49%)
CMYKcmyk(4.8%, 0%, 85.6%, 51%)
CIE-LABlab(50.26, -15.08, 51.40)
CIE-LCHlch(50.26, 53.57, 106.35°)
OKLaboklab(56.6% -0.0473 0.1109)
OKLCHoklch(56.6% 0.121 113.1)
XYZxyz(15.0511, 18.6332, 3.3759)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777D12 #18127D
analogous
#7D4D12 #777D12 #427D12
triadic
#777D12 #12777D #7D1277
tetradic
#777D12 #127D4D #18127D #7D1242
square
#777D12 #127D4D #18127D #7D1242
split-complementary
#777D12 #12427D #4D127D
monochromatic
#191B04 #44480A #777D12 #AAB21A #D6E029

Accessibility & contrast

On white

4.44
#777D12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#777D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #777D12
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777D12#FFFFFF#000000##000000
##777D121.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#87791D
Tritanopia (blue-blind)
#80756A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #777d12;
/* rgb */ color: rgb(119, 125, 18);
/* oklch */ color: oklch(56.6% 0.121 113.1);
Tailwind
colors: {
  custom: {
    50: '#a2a25d',
    500: '#777d12',
    950: '#000000',
  },
}
SCSS
$custom: #777d12;
$custom-light: #a2a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#777d12",
  "rgb": {
    "r": 119,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 63.364,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56601,
    "c": 0.12057,
    "h": 113.1
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#777D12
secondary
#3F38B3
accent
#36F141
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #777D12

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

Preview Lab → · Contrast checker → · Palette generator →

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