#778322#778322

#778322 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.1% C 0.119 H 116.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#778322
RGBrgb(119, 131, 34)
HSLhsl(67, 59%, 32%)
HSVhsv(67, 74%, 51%)
CMYKcmyk(9.2%, 0%, 74%, 48.6%)
CIE-LABlab(52.14, -17.56, 47.92)
CIE-LCHlch(52.14, 51.04, 110.13°)
OKLaboklab(58.14% -0.0529 0.1065)
OKLCHoklch(58.14% 0.119 116.4)
XYZxyz(16.0132, 20.2703, 4.5820)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778322 #2E2283
analogous
#835F22 #778322 #468322
triadic
#778322 #227783 #832277
tetradic
#778322 #22835F #2E2283 #832246
square
#778322 #22835F #2E2283 #832246
split-complementary
#778322 #224683 #5F2283
monochromatic
#1F2209 #4B5215 #778322 #A3B42F #C1D14E

Accessibility & contrast

On white

4.16
#778322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#778322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778322
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778322#FFFFFF#000000##000000
##7783221.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C10
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#7F7B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778322;
/* rgb */ color: rgb(119, 131, 34);
/* oklch */ color: oklch(58.1% 0.119 116.4);
Tailwind
colors: {
  custom: {
    50: '#a1a764',
    500: '#778322',
    950: '#000000',
  },
}
SCSS
$custom: #778322;
$custom-light: #a1a764;
$custom-dark: #000000;
JSON
{
  "hex": "#778322",
  "rgb": {
    "r": 119,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 67.423,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58141,
    "c": 0.11886,
    "h": 116.4
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#778322
secondary
#594CB4
accent
#46E259
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778322

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

Preview Lab → · Contrast checker → · Palette generator →

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