#778524#778524

#778524 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.6% C 0.120 H 117.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#778524
RGBrgb(119, 133, 36)
HSLhsl(69, 57%, 33%)
HSVhsv(69, 73%, 52%)
CMYKcmyk(10.5%, 0%, 72.9%, 47.8%)
CIE-LABlab(52.76, -18.49, 47.75)
CIE-LCHlch(52.76, 51.21, 111.17°)
OKLaboklab(58.64% -0.0553 0.1065)
OKLCHoklch(58.64% 0.12 117.4)
XYZxyz(16.3141, 20.8246, 4.8288)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778524 #322485
analogous
#856224 #778524 #468524
triadic
#778524 #247785 #852477
tetradic
#778524 #248562 #322485 #852446
square
#778524 #248562 #322485 #852446
split-complementary
#778524 #244685 #622485
monochromatic
#21250A #4C5517 #778524 #A2B531 #BED053

Accessibility & contrast

On white

4.07
#778524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#778524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778524
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778524#FFFFFF#000000##000000
##7785241.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E13
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#7F7D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #778524;
/* rgb */ color: rgb(119, 133, 36);
/* oklch */ color: oklch(58.6% 0.120 117.4);
Tailwind
colors: {
  custom: {
    50: '#a1a866',
    500: '#778524',
    950: '#000000',
  },
}
SCSS
$custom: #778524;
$custom-light: #a1a866;
$custom-dark: #000000;
JSON
{
  "hex": "#778524",
  "rgb": {
    "r": 119,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 68.66,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.11995,
    "h": 117.4
  },
  "luminance": 0.20824
}

Semantic roles & 50–950 ramp

primary
#778524
secondary
#5F50B4
accent
#47E15D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #778524

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

Preview Lab → · Contrast checker → · Palette generator →

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