#778522#778522

#778522 is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.6% C 0.121 H 117.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#778522
RGBrgb(119, 133, 34)
HSLhsl(68, 59%, 33%)
HSVhsv(68, 74%, 52%)
CMYKcmyk(10.5%, 0%, 74.4%, 47.8%)
CIE-LABlab(52.74, -18.61, 48.50)
CIE-LCHlch(52.74, 51.95, 110.99°)
OKLaboklab(58.63% -0.0558 0.1077)
OKLCHoklch(58.63% 0.121 117.4)
XYZxyz(16.2844, 20.8127, 4.6725)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778522 #302285
analogous
#856122 #778522 #458522
triadic
#778522 #227785 #852277
tetradic
#778522 #228561 #302285 #852245
square
#778522 #228561 #302285 #852245
split-complementary
#778522 #224585 #612285
monochromatic
#202409 #4B5416 #778522 #A3B62E #C0D24F

Accessibility & contrast

On white

4.07
#778522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#778522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778522
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778522#FFFFFF#000000##000000
##7785221.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0F
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#7F7D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #778522;
/* rgb */ color: rgb(119, 133, 34);
/* oklch */ color: oklch(58.6% 0.121 117.4);
Tailwind
colors: {
  custom: {
    50: '#a1a865',
    500: '#778522',
    950: '#000000',
  },
}
SCSS
$custom: #778522;
$custom-light: #a1a865;
$custom-dark: #000000;
JSON
{
  "hex": "#778522",
  "rgb": {
    "r": 119,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 68.485,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.12127,
    "h": 117.4
  },
  "luminance": 0.20812
}

Semantic roles & 50–950 ramp

primary
#778522
secondary
#5C4DB6
accent
#45E25C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778522

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

Preview Lab → · Contrast checker → · Palette generator →

#778522 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva