#788714#788714

#788714 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.1% C 0.131 H 117.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#788714
RGBrgb(120, 135, 20)
HSLhsl(68, 74%, 30%)
HSVhsv(68, 85%, 53%)
CMYKcmyk(11.1%, 0%, 85.2%, 47.1%)
CIE-LABlab(53.35, -19.81, 53.56)
CIE-LCHlch(53.35, 57.11, 110.30°)
OKLaboklab(59.11% -0.0603 0.1159)
OKLCHoklch(59.11% 0.131 117.5)
XYZxyz(16.5364, 21.3717, 3.9157)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788714 #231487
analogous
#875C14 #788714 #3E8714
triadic
#788714 #147887 #871478
tetradic
#788714 #14875C #231487 #87143E
square
#788714 #14875C #231487 #87143E
split-complementary
#788714 #143E87 #5C1487
monochromatic
#191C04 #49520C #788714 #A7BC1C #CAE134

Accessibility & contrast

On white

3.98
#788714 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#788714 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788714
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788714#FFFFFF#000000##000000
##7887141.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#807F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #788714;
/* rgb */ color: rgb(120, 135, 20);
/* oklch */ color: oklch(59.1% 0.131 117.5);
Tailwind
colors: {
  custom: {
    50: '#a2a95f',
    500: '#788714',
    950: '#000000',
  },
}
SCSS
$custom: #788714;
$custom-light: #a2a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#788714",
  "rgb": {
    "r": 120,
    "g": 135,
    "b": 20
  },
  "hsl": {
    "h": 67.826,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.59112,
    "c": 0.1306,
    "h": 117.5
  },
  "luminance": 0.21372
}

Semantic roles & 50–950 ramp

primary
#788714
secondary
#4C3BBB
accent
#37F14F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788714

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

Preview Lab → · Contrast checker → · Palette generator →

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