#788116#788116

#788116 is a mid, vivid yellow. Relative luminance 0.198; OKLCH L 57.7% C 0.123 H 114.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#788116
RGBrgb(120, 129, 22)
HSLhsl(65, 71%, 30%)
HSVhsv(65, 83%, 51%)
CMYKcmyk(7%, 0%, 82.9%, 49.4%)
CIE-LABlab(51.56, -16.61, 51.45)
CIE-LCHlch(51.56, 54.06, 107.89°)
OKLaboklab(57.67% -0.0513 0.1117)
OKLCHoklch(57.67% 0.123 114.7)
XYZxyz(15.7413, 19.7518, 3.7422)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788116 #1F1681
analogous
#815516 #788116 #428116
triadic
#788116 #167881 #811678
tetradic
#788116 #168155 #1F1681 #811642
square
#788116 #168155 #1F1681 #811642
split-complementary
#788116 #164281 #551681
monochromatic
#181A04 #474D0D #788116 #A9B51F #CEDD35

Accessibility & contrast

On white

4.24
#788116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#788116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788116
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788116#FFFFFF#000000##000000
##7881161.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8A7C21
Tritanopia (blue-blind)
#80796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #788116;
/* rgb */ color: rgb(120, 129, 22);
/* oklch */ color: oklch(57.7% 0.123 114.7);
Tailwind
colors: {
  custom: {
    50: '#a2a55f',
    500: '#788116',
    950: '#000000',
  },
}
SCSS
$custom: #788116;
$custom-light: #a2a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#788116",
  "rgb": {
    "r": 120,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 65.047,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.12291,
    "h": 114.7
  },
  "luminance": 0.19752
}

Semantic roles & 50–950 ramp

primary
#788116
secondary
#473DB6
accent
#3AEE49
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788116

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

Preview Lab → · Contrast checker → · Palette generator →

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