#778120#778120

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

Color values

HEX#778120
RGBrgb(119, 129, 32)
HSLhsl(66, 60%, 32%)
HSVhsv(66, 75%, 51%)
CMYKcmyk(7.8%, 0%, 75.2%, 49.4%)
CIE-LABlab(51.53, -16.61, 48.08)
CIE-LCHlch(51.53, 50.87, 109.06°)
OKLaboklab(57.64% -0.0504 0.1064)
OKLCHoklch(57.64% 0.118 115.3)
XYZxyz(15.7191, 19.7270, 4.3458)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778120 #2A2081
analogous
#815B20 #778120 #478120
triadic
#778120 #207781 #812077
tetradic
#778120 #20815B #2A2081 #812047
square
#778120 #20815B #2A2081 #812047
split-complementary
#778120 #204781 #5B2081
monochromatic
#1D1F08 #4A5014 #778120 #A4B22C #C4D249

Accessibility & contrast

On white

4.25
#778120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##778120#FFFFFF#000000##000000
##7781201.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0D
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#7F796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #778120;
/* rgb */ color: rgb(119, 129, 32);
/* oklch */ color: oklch(57.6% 0.118 115.3);
Tailwind
colors: {
  custom: {
    50: '#a1a563',
    500: '#778120',
    950: '#000000',
  },
}
SCSS
$custom: #778120;
$custom-light: #a1a563;
$custom-dark: #000000;
JSON
{
  "hex": "#778120",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 66.186,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57644,
    "c": 0.11777,
    "h": 115.3
  },
  "luminance": 0.19727
}

Semantic roles & 50–950 ramp

primary
#778120
secondary
#5449B4
accent
#44E355
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778120

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

Preview Lab → · Contrast checker → · Palette generator →

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