#778427#778427

#778427 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.4% C 0.117 H 117.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#778427
RGBrgb(119, 132, 39)
HSLhsl(68, 54%, 34%)
HSVhsv(68, 70%, 52%)
CMYKcmyk(9.8%, 0%, 70.5%, 48.2%)
CIE-LABlab(52.48, -17.79, 46.28)
CIE-LCHlch(52.48, 49.58, 111.03°)
OKLaboklab(58.42% -0.053 0.1039)
OKLCHoklch(58.42% 0.117 117)
XYZxyz(16.2256, 20.5711, 5.0349)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778427 #342784
analogous
#846227 #778427 #488427
triadic
#778427 #277784 #842777
tetradic
#778427 #278462 #342784 #842748
square
#778427 #278462 #342784 #842748
split-complementary
#778427 #274884 #622784
monochromatic
#22260B #4C5519 #778427 #A2B335 #BDCE58

Accessibility & contrast

On white

4.11
#778427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#778427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778427
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778427#FFFFFF#000000##000000
##7784271.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D19
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#7E7C71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #778427;
/* rgb */ color: rgb(119, 132, 39);
/* oklch */ color: oklch(58.4% 0.117 117.0);
Tailwind
colors: {
  custom: {
    50: '#a1a767',
    500: '#778427',
    950: '#000000',
  },
}
SCSS
$custom: #778427;
$custom-light: #a1a767;
$custom-dark: #000000;
JSON
{
  "hex": "#778427",
  "rgb": {
    "r": 119,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 68.387,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.11661,
    "h": 117
  },
  "luminance": 0.20571
}

Semantic roles & 50–950 ramp

primary
#778427
secondary
#6154B2
accent
#4ADE5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778427

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

Preview Lab → · Contrast checker → · Palette generator →

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