#777E12#777E12

#777E12 is a mid, vivid yellow. Relative luminance 0.189; OKLCH L 56.8% C 0.122 H 113.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#777E12
RGBrgb(119, 126, 18)
HSLhsl(64, 75%, 28%)
HSVhsv(64, 86%, 49%)
CMYKcmyk(5.6%, 0%, 85.7%, 50.6%)
CIE-LABlab(50.56, -15.61, 51.66)
CIE-LCHlch(50.56, 53.97, 106.81°)
OKLaboklab(56.84% -0.0488 0.1114)
OKLCHoklch(56.84% 0.122 113.7)
XYZxyz(15.1783, 18.8877, 3.4183)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777E12 #19127E
analogous
#7E4F12 #777E12 #417E12
triadic
#777E12 #12777E #7E1277
tetradic
#777E12 #127E4F #19127E #7E1241
square
#777E12 #127E4F #19127E #7E1241
split-complementary
#777E12 #12417E #4F127E
monochromatic
#191B04 #44480A #777E12 #AAB41A #D5E12A

Accessibility & contrast

On white

4.40
#777E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#777E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #777E12
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777E12#FFFFFF#000000##000000
##777E121.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#80766B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #777e12;
/* rgb */ color: rgb(119, 126, 18);
/* oklch */ color: oklch(56.8% 0.122 113.7);
Tailwind
colors: {
  custom: {
    50: '#a2a35d',
    500: '#777e12',
    950: '#000000',
  },
}
SCSS
$custom: #777e12;
$custom-light: #a2a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#777e12",
  "rgb": {
    "r": 119,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 63.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56842,
    "c": 0.12166,
    "h": 113.7
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

primary
#777E12
secondary
#4038B4
accent
#36F242
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #777E12

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

Preview Lab → · Contrast checker → · Palette generator →

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