#778222#778222

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

Color values

HEX#778222
RGBrgb(119, 130, 34)
HSLhsl(67, 59%, 32%)
HSVhsv(67, 74%, 51%)
CMYKcmyk(8.5%, 0%, 73.8%, 49%)
CIE-LABlab(51.84, -17.03, 47.63)
CIE-LCHlch(51.84, 50.58, 109.68°)
OKLaboklab(57.9% -0.0514 0.1058)
OKLCHoklch(57.9% 0.118 115.9)
XYZxyz(15.8795, 20.0029, 4.5375)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778222 #2D2282
analogous
#825D22 #778222 #478222
triadic
#778222 #227782 #822277
tetradic
#778222 #22825D #2D2282 #822247
square
#778222 #22825D #2D2282 #822247
split-complementary
#778222 #224782 #5D2282
monochromatic
#1E2109 #4B5115 #778222 #A3B32F #C2D14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778222#FFFFFF#000000##000000
##7782221.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)
#8B7B10
Deuteranopia (green-blind)
#8B7C2A
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778222;
/* rgb */ color: rgb(119, 130, 34);
/* oklch */ color: oklch(57.9% 0.118 115.9);
Tailwind
colors: {
  custom: {
    50: '#a1a664',
    500: '#778222',
    950: '#000000',
  },
}
SCSS
$custom: #778222;
$custom-light: #a1a664;
$custom-dark: #000000;
JSON
{
  "hex": "#778222",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 66.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57899,
    "c": 0.11766,
    "h": 115.9
  },
  "luminance": 0.20003
}

Semantic roles & 50–950 ramp

primary
#778222
secondary
#584CB4
accent
#46E258
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778222

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

Preview Lab → · Contrast checker → · Palette generator →

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