#788617#788617

#788617 is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 58.9% C 0.128 H 117.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#788617
RGBrgb(120, 134, 23)
HSLhsl(68, 71%, 31%)
HSVhsv(68, 83%, 53%)
CMYKcmyk(10.4%, 0%, 82.8%, 47.5%)
CIE-LABlab(53.06, -19.19, 52.49)
CIE-LCHlch(53.06, 55.88, 110.08°)
OKLaboklab(58.88% -0.0583 0.1141)
OKLCHoklch(58.88% 0.128 117.1)
XYZxyz(16.4259, 21.1053, 4.0189)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788617 #251786
analogous
#865C17 #788617 #408617
triadic
#788617 #177886 #861778
tetradic
#788617 #17865C #251786 #861740
square
#788617 #17865C #251786 #861740
split-complementary
#788617 #174086 #5C1786
monochromatic
#1A1E05 #49520E #788617 #A7BA20 #C9DD3A

Accessibility & contrast

On white

4.02
#788617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#788617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788617
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788617#FFFFFF#000000##000000
##7886171.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#807E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #788617;
/* rgb */ color: rgb(120, 134, 23);
/* oklch */ color: oklch(58.9% 0.128 117.1);
Tailwind
colors: {
  custom: {
    50: '#a2a960',
    500: '#788617',
    950: '#000000',
  },
}
SCSS
$custom: #788617;
$custom-light: #a2a960;
$custom-dark: #000000;
JSON
{
  "hex": "#788617",
  "rgb": {
    "r": 120,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 67.568,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58884,
    "c": 0.12815,
    "h": 117.1
  },
  "luminance": 0.21105
}

Semantic roles & 50–950 ramp

primary
#788617
secondary
#4E3FBA
accent
#3AED51
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788617

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

Preview Lab → · Contrast checker → · Palette generator →

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