#778215#778215

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

Color values

HEX#778215
RGBrgb(119, 130, 21)
HSLhsl(66, 72%, 30%)
HSVhsv(66, 84%, 51%)
CMYKcmyk(8.5%, 0%, 83.8%, 49%)
CIE-LABlab(51.77, -17.62, 51.89)
CIE-LCHlch(51.77, 54.80, 108.76°)
OKLaboklab(57.82% -0.0541 0.1125)
OKLCHoklch(57.82% 0.125 115.7)
XYZxyz(15.7262, 19.9416, 3.7300)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778215 #201582
analogous
#825715 #778215 #418215
triadic
#778215 #157782 #821577
tetradic
#778215 #158257 #201582 #821541
square
#778215 #158257 #201582 #821541
split-complementary
#778215 #154182 #571582
monochromatic
#181A04 #474D0C #778215 #A7B71E #CDDE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778215#FFFFFF#000000##000000
##7782151.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)
#8B7C20
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #778215;
/* rgb */ color: rgb(119, 130, 21);
/* oklch */ color: oklch(57.8% 0.125 115.7);
Tailwind
colors: {
  custom: {
    50: '#a2a65e',
    500: '#778215',
    950: '#000000',
  },
}
SCSS
$custom: #778215;
$custom-light: #a2a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#778215",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 21
  },
  "hsl": {
    "h": 66.055,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57821,
    "c": 0.12484,
    "h": 115.7
  },
  "luminance": 0.19941
}

Semantic roles & 50–950 ramp

primary
#778215
secondary
#483CB7
accent
#39EF4B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #778215

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

Preview Lab → · Contrast checker → · Palette generator →

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