#778122#778122

#778122 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.116 H 115.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#778122
RGBrgb(119, 129, 34)
HSLhsl(66, 58%, 32%)
HSVhsv(66, 74%, 51%)
CMYKcmyk(7.8%, 0%, 73.6%, 49.4%)
CIE-LABlab(51.54, -16.50, 47.33)
CIE-LCHlch(51.54, 50.13, 109.22°)
OKLaboklab(57.66% -0.0499 0.1052)
OKLCHoklch(57.66% 0.116 115.4)
XYZxyz(15.7472, 19.7382, 4.4934)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778122 #2C2281
analogous
#815C22 #778122 #488122
triadic
#778122 #227781 #812277
tetradic
#778122 #22815C #2C2281 #812248
square
#778122 #22815C #2C2281 #812248
split-complementary
#778122 #224881 #5C2281
monochromatic
#1E2008 #4A5115 #778122 #A4B12F #C2D04D

Accessibility & contrast

On white

4.24
#778122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#778122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778122
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778122#FFFFFF#000000##000000
##7781221.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A11
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#7F796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #778122;
/* rgb */ color: rgb(119, 129, 34);
/* oklch */ color: oklch(57.7% 0.116 115.4);
Tailwind
colors: {
  custom: {
    50: '#a1a564',
    500: '#778122',
    950: '#000000',
  },
}
SCSS
$custom: #778122;
$custom-light: #a1a564;
$custom-dark: #000000;
JSON
{
  "hex": "#778122",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 66.316,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57658,
    "c": 0.11647,
    "h": 115.4
  },
  "luminance": 0.19738
}

Semantic roles & 50–950 ramp

primary
#778122
secondary
#564BB3
accent
#46E157
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778122

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

Preview Lab → · Contrast checker → · Palette generator →

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