#778022#778022

#778022 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.4% C 0.115 H 114.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#778022
RGBrgb(119, 128, 34)
HSLhsl(66, 58%, 32%)
HSVhsv(66, 73%, 50%)
CMYKcmyk(7%, 0%, 73.4%, 49.8%)
CIE-LABlab(51.24, -15.97, 47.04)
CIE-LCHlch(51.24, 49.68, 108.76°)
OKLaboklab(57.42% -0.0485 0.1046)
OKLCHoklch(57.42% 0.115 114.9)
XYZxyz(15.6161, 19.4760, 4.4497)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778022 #2B2280
analogous
#805A22 #778022 #488022
triadic
#778022 #227780 #802277
tetradic
#778022 #22805A #2B2280 #802248
square
#778022 #22805A #2B2280 #802248
split-complementary
#778022 #224880 #5A2280
monochromatic
#1D1F08 #4A5015 #778022 #A4B02F #C3D04D

Accessibility & contrast

On white

4.29
#778022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#778022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778022
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778022#FFFFFF#000000##000000
##7780221.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897911
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#7F786E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #778022;
/* rgb */ color: rgb(119, 128, 34);
/* oklch */ color: oklch(57.4% 0.115 114.9);
Tailwind
colors: {
  custom: {
    50: '#a1a464',
    500: '#778022',
    950: '#000000',
  },
}
SCSS
$custom: #778022;
$custom-light: #a1a464;
$custom-dark: #000000;
JSON
{
  "hex": "#778022",
  "rgb": {
    "r": 119,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 65.745,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57417,
    "c": 0.11529,
    "h": 114.9
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#778022
secondary
#554BB2
accent
#47E155
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778022

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

Preview Lab → · Contrast checker → · Palette generator →

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