#777C12#777C12

#777C12 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.119 H 112.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#777C12
RGBrgb(119, 124, 18)
HSLhsl(63, 75%, 28%)
HSVhsv(63, 85%, 49%)
CMYKcmyk(4%, 0%, 85.5%, 51.4%)
CIE-LABlab(49.96, -14.54, 51.15)
CIE-LCHlch(49.96, 53.17, 105.87°)
OKLaboklab(56.36% -0.0459 0.1103)
OKLCHoklch(56.36% 0.119 112.6)
XYZxyz(14.9251, 18.3813, 3.3339)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777C12 #17127C
analogous
#7C4C12 #777C12 #427C12
triadic
#777C12 #12777C #7C1277
tetradic
#777C12 #127C4C #17127C #7C1242
square
#777C12 #127C4C #17127C #7C1242
split-complementary
#777C12 #12427C #4C127C
monochromatic
#1A1B04 #44470A #777C12 #AAB11A #D7E029

Accessibility & contrast

On white

4.49
#777C12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#777C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #777C12
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777C12#FFFFFF#000000##000000
##777C121.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#86781D
Tritanopia (blue-blind)
#807469
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #777c12;
/* rgb */ color: rgb(119, 124, 18);
/* oklch */ color: oklch(56.4% 0.119 112.6);
Tailwind
colors: {
  custom: {
    50: '#a2a15c',
    500: '#777c12',
    950: '#000000',
  },
}
SCSS
$custom: #777c12;
$custom-light: #a2a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#777c12",
  "rgb": {
    "r": 119,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 62.83,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.11949,
    "h": 112.6
  },
  "luminance": 0.18381
}

Semantic roles & 50–950 ramp

primary
#777C12
secondary
#3E38B2
accent
#37F13F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #777C12

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

Preview Lab → · Contrast checker → · Palette generator →

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