#778017#778017

#778017 is a mid, vivid yellow. Relative luminance 0.194; OKLCH L 57.3% C 0.122 H 114.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#778017
RGBrgb(119, 128, 23)
HSLhsl(65, 70%, 30%)
HSVhsv(65, 82%, 50%)
CMYKcmyk(7%, 0%, 82%, 49.8%)
CIE-LABlab(51.18, -16.49, 50.79)
CIE-LCHlch(51.18, 53.40, 107.99°)
OKLaboklab(57.35% -0.0509 0.1105)
OKLCHoklch(57.35% 0.122 114.7)
XYZxyz(15.4820, 19.4224, 3.7438)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778017 #201780
analogous
#805517 #778017 #438017
triadic
#778017 #177780 #801777
tetradic
#778017 #178055 #201780 #801743
square
#778017 #178055 #201780 #801743
split-complementary
#778017 #174380 #551780
monochromatic
#181A05 #474C0E #778017 #A7B420 #CDDB36

Accessibility & contrast

On white

4.30
#778017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#778017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778017
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778017#FFFFFF#000000##000000
##7780171.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#897B21
Tritanopia (blue-blind)
#7F786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #778017;
/* rgb */ color: rgb(119, 128, 23);
/* oklch */ color: oklch(57.3% 0.122 114.7);
Tailwind
colors: {
  custom: {
    50: '#a2a45f',
    500: '#778017',
    950: '#000000',
  },
}
SCSS
$custom: #778017;
$custom-light: #a2a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#778017",
  "rgb": {
    "r": 119,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 65.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57348,
    "c": 0.12165,
    "h": 114.7
  },
  "luminance": 0.19422
}

Semantic roles & 50–950 ramp

primary
#778017
secondary
#483EB4
accent
#3BEC4B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778017

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

Preview Lab → · Contrast checker → · Palette generator →

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