#778117#778117

#778117 is a mid, vivid yellow. Relative luminance 0.197; OKLCH L 57.6% C 0.123 H 115.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#778117
RGBrgb(119, 129, 23)
HSLhsl(66, 70%, 30%)
HSVhsv(66, 82%, 51%)
CMYKcmyk(7.8%, 0%, 82.2%, 49.4%)
CIE-LABlab(51.48, -17.02, 51.06)
CIE-LCHlch(51.48, 53.82, 108.44°)
OKLaboklab(57.59% -0.0523 0.1111)
OKLCHoklch(57.59% 0.123 115.2)
XYZxyz(15.6131, 19.6846, 3.7875)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778117 #211781
analogous
#815617 #778117 #428117
triadic
#778117 #177781 #811777
tetradic
#778117 #178156 #211781 #811742
square
#778117 #178156 #211781 #811742
split-complementary
#778117 #174281 #561781
monochromatic
#181A05 #474D0E #778117 #A7B520 #CCDB37

Accessibility & contrast

On white

4.25
#778117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#778117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778117
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778117#FFFFFF#000000##000000
##7781171.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8A7B21
Tritanopia (blue-blind)
#7F796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #778117;
/* rgb */ color: rgb(119, 129, 23);
/* oklch */ color: oklch(57.6% 0.123 115.2);
Tailwind
colors: {
  custom: {
    50: '#a2a55f',
    500: '#778117',
    950: '#000000',
  },
}
SCSS
$custom: #778117;
$custom-light: #a2a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#778117",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 65.66,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.12278,
    "h": 115.2
  },
  "luminance": 0.19684
}

Semantic roles & 50–950 ramp

primary
#778117
secondary
#4A3EB5
accent
#3BED4C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778117

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

Preview Lab → · Contrast checker → · Palette generator →

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