#778220#778220

#778220 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.119 H 115.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#778220
RGBrgb(119, 130, 32)
HSLhsl(67, 60%, 32%)
HSVhsv(67, 75%, 51%)
CMYKcmyk(8.5%, 0%, 75.4%, 49%)
CIE-LABlab(51.83, -17.14, 48.36)
CIE-LCHlch(51.83, 51.31, 109.51°)
OKLaboklab(57.89% -0.0519 0.107)
OKLCHoklch(57.89% 0.119 115.9)
XYZxyz(15.8515, 19.9917, 4.3900)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778220 #2B2082
analogous
#825C20 #778220 #468220
triadic
#778220 #207782 #822077
tetradic
#778220 #20825C #2B2082 #822046
square
#778220 #20825C #2B2082 #822046
split-complementary
#778220 #204682 #5C2082
monochromatic
#1D2008 #4A5114 #778220 #A4B32C #C3D24A

Accessibility & contrast

On white

4.20
#778220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#778220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778220
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778220#FFFFFF#000000##000000
##7782201.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0C
Deuteranopia (green-blind)
#8B7C28
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778220;
/* rgb */ color: rgb(119, 130, 32);
/* oklch */ color: oklch(57.9% 0.119 115.9);
Tailwind
colors: {
  custom: {
    50: '#a1a663',
    500: '#778220',
    950: '#000000',
  },
}
SCSS
$custom: #778220;
$custom-light: #a1a663;
$custom-dark: #000000;
JSON
{
  "hex": "#778220",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 66.735,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57885,
    "c": 0.11895,
    "h": 115.9
  },
  "luminance": 0.19991
}

Semantic roles & 50–950 ramp

primary
#778220
secondary
#5549B5
accent
#44E456
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778220

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

Preview Lab → · Contrast checker → · Palette generator →

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