#778217#778217

#778217 is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.124 H 115.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#778217
RGBrgb(119, 130, 23)
HSLhsl(66, 70%, 30%)
HSVhsv(66, 82%, 51%)
CMYKcmyk(8.5%, 0%, 82.3%, 49%)
CIE-LABlab(51.78, -17.55, 51.32)
CIE-LCHlch(51.78, 54.24, 108.88°)
OKLaboklab(57.83% -0.0538 0.1116)
OKLCHoklch(57.83% 0.124 115.7)
XYZxyz(15.7455, 19.9493, 3.8316)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778217 #221782
analogous
#825717 #778217 #428217
triadic
#778217 #177782 #821777
tetradic
#778217 #178257 #221782 #821742
square
#778217 #178257 #221782 #821742
split-complementary
#778217 #174282 #571782
monochromatic
#181A05 #474E0E #778217 #A7B620 #CBDC38

Accessibility & contrast

On white

4.21
#778217 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#778217 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778217
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778217#FFFFFF#000000##000000
##7782171.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #778217;
/* rgb */ color: rgb(119, 130, 23);
/* oklch */ color: oklch(57.8% 0.124 115.7);
Tailwind
colors: {
  custom: {
    50: '#a2a65f',
    500: '#778217',
    950: '#000000',
  },
}
SCSS
$custom: #778217;
$custom-light: #a2a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#778217",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 66.168,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.57831,
    "c": 0.12392,
    "h": 115.7
  },
  "luminance": 0.19949
}

Semantic roles & 50–950 ramp

primary
#778217
secondary
#4B3EB6
accent
#3BED4D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778217

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

Preview Lab → · Contrast checker → · Palette generator →

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