#778317#778317

#778317 is a mid, vivid yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.125 H 116.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#778317
RGBrgb(119, 131, 23)
HSLhsl(67, 70%, 30%)
HSVhsv(67, 82%, 51%)
CMYKcmyk(9.2%, 0%, 82.4%, 48.6%)
CIE-LABlab(52.08, -18.07, 51.59)
CIE-LCHlch(52.08, 54.66, 109.31°)
OKLaboklab(58.07% -0.0552 0.1122)
OKLCHoklch(58.07% 0.125 116.2)
XYZxyz(15.8791, 20.2166, 3.8761)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778317 #231783
analogous
#835917 #778317 #418317
triadic
#778317 #177783 #831777
tetradic
#778317 #178359 #231783 #831741
square
#778317 #178359 #231783 #831741
split-complementary
#778317 #174183 #591783
monochromatic
#181B05 #484F0E #778317 #A6B720 #CADC38

Accessibility & contrast

On white

4.16
#778317 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#778317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778317
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778317#FFFFFF#000000##000000
##7783171.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D22
Tritanopia (blue-blind)
#7F7B6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #778317;
/* rgb */ color: rgb(119, 131, 23);
/* oklch */ color: oklch(58.1% 0.125 116.2);
Tailwind
colors: {
  custom: {
    50: '#a2a65f',
    500: '#778317',
    950: '#000000',
  },
}
SCSS
$custom: #778317;
$custom-light: #a2a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#778317",
  "rgb": {
    "r": 119,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 66.667,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.58073,
    "c": 0.12507,
    "h": 116.2
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#778317
secondary
#4C3FB7
accent
#3BED4F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778317

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

Preview Lab → · Contrast checker → · Palette generator →

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