#778815#778815

#778815 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.3% C 0.132 H 118.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#778815
RGBrgb(119, 136, 21)
HSLhsl(69, 73%, 31%)
HSVhsv(69, 85%, 53%)
CMYKcmyk(12.5%, 0%, 84.6%, 46.7%)
CIE-LABlab(53.58, -20.74, 53.46)
CIE-LCHlch(53.58, 57.34, 111.20°)
OKLaboklab(59.28% -0.0627 0.1159)
OKLCHoklch(59.28% 0.132 118.4)
XYZxyz(16.5477, 21.5845, 4.0038)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778815 #261588
analogous
#885F15 #778815 #3D8815
triadic
#778815 #157788 #881577
tetradic
#778815 #15885F #261588 #88153D
square
#778815 #15885F #261588 #88153D
split-complementary
#778815 #153D88 #5F1588
monochromatic
#1A1E05 #49530D #778815 #A5BD1D #C7E037

Accessibility & contrast

On white

3.95
#778815 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#778815 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778815
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778815#FFFFFF#000000##000000
##7788151.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#908022
Tritanopia (blue-blind)
#7F8074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #778815;
/* rgb */ color: rgb(119, 136, 21);
/* oklch */ color: oklch(59.3% 0.132 118.4);
Tailwind
colors: {
  custom: {
    50: '#a2aa5f',
    500: '#778815',
    950: '#000000',
  },
}
SCSS
$custom: #778815;
$custom-light: #a2aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#778815",
  "rgb": {
    "r": 119,
    "g": 136,
    "b": 21
  },
  "hsl": {
    "h": 68.87,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59279,
    "c": 0.13174,
    "h": 118.4
  },
  "luminance": 0.21584
}

Semantic roles & 50–950 ramp

primary
#778815
secondary
#4F3DBC
accent
#38F053
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #778815

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

Preview Lab → · Contrast checker → · Palette generator →

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