#788514#788514

#788514 is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.6% C 0.128 H 116.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#788514
RGBrgb(120, 133, 20)
HSLhsl(67, 74%, 30%)
HSVhsv(67, 85%, 52%)
CMYKcmyk(9.8%, 0%, 85%, 47.8%)
CIE-LABlab(52.75, -18.77, 53.04)
CIE-LCHlch(52.75, 56.27, 109.49°)
OKLaboklab(58.63% -0.0574 0.1147)
OKLCHoklch(58.63% 0.128 116.6)
XYZxyz(16.2600, 20.8189, 3.8236)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788514 #211485
analogous
#855A14 #788514 #3F8514
triadic
#788514 #147885 #851478
tetradic
#788514 #14855A #211485 #85143F
square
#788514 #14855A #211485 #85143F
split-complementary
#788514 #143F85 #5A1485
monochromatic
#181B04 #48500C #788514 #A8BA1C #CCE033

Accessibility & contrast

On white

4.07
#788514 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#788514 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788514
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788514#FFFFFF#000000##000000
##7885141.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8E7F20
Tritanopia (blue-blind)
#807D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #788514;
/* rgb */ color: rgb(120, 133, 20);
/* oklch */ color: oklch(58.6% 0.128 116.6);
Tailwind
colors: {
  custom: {
    50: '#a2a85f',
    500: '#788514',
    950: '#000000',
  },
}
SCSS
$custom: #788514;
$custom-light: #a2a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#788514",
  "rgb": {
    "r": 120,
    "g": 133,
    "b": 20
  },
  "hsl": {
    "h": 66.903,
    "s": 73.856,
    "l": 30
  },
  "oklch": {
    "l": 0.58627,
    "c": 0.12831,
    "h": 116.6
  },
  "luminance": 0.20819
}

Semantic roles & 50–950 ramp

primary
#788514
secondary
#4A3BBA
accent
#37F14D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788514

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

Preview Lab → · Contrast checker → · Palette generator →

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