#788417#788417

#788417 is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.4% C 0.126 H 116.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#788417
RGBrgb(120, 132, 23)
HSLhsl(67, 70%, 30%)
HSVhsv(67, 83%, 52%)
CMYKcmyk(9.1%, 0%, 82.6%, 48.2%)
CIE-LABlab(52.46, -18.15, 51.96)
CIE-LCHlch(52.46, 55.03, 109.25°)
OKLaboklab(58.4% -0.0555 0.113)
OKLCHoklch(58.4% 0.126 116.2)
XYZxyz(16.1521, 20.5577, 3.9276)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788417 #231784
analogous
#845A17 #788417 #418417
triadic
#788417 #177884 #841778
tetradic
#788417 #17845A #231784 #841741
square
#788417 #17845A #231784 #841741
split-complementary
#788417 #174184 #5A1784
monochromatic
#191C05 #49500E #788417 #A7B820 #CADC39

Accessibility & contrast

On white

4.11
#788417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#788417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788417
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788417#FFFFFF#000000##000000
##7884171.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#807C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #788417;
/* rgb */ color: rgb(120, 132, 23);
/* oklch */ color: oklch(58.4% 0.126 116.2);
Tailwind
colors: {
  custom: {
    50: '#a2a760',
    500: '#788417',
    950: '#000000',
  },
}
SCSS
$custom: #788417;
$custom-light: #a2a760;
$custom-dark: #000000;
JSON
{
  "hex": "#788417",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 66.606,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.12584,
    "h": 116.2
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#788417
secondary
#4C3FB8
accent
#3BED4E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788417

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

Preview Lab → · Contrast checker → · Palette generator →

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