#788914#788914

#788914 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.6% C 0.133 H 118.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#788914
RGBrgb(120, 137, 20)
HSLhsl(69, 75%, 31%)
HSVhsv(69, 85%, 54%)
CMYKcmyk(12.4%, 0%, 85.4%, 46.3%)
CIE-LABlab(53.96, -20.84, 54.08)
CIE-LCHlch(53.96, 57.95, 111.07°)
OKLaboklab(59.6% -0.0631 0.117)
OKLCHoklch(59.6% 0.133 118.3)
XYZxyz(16.8181, 21.9351, 4.0096)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788914 #251489
analogous
#895F14 #788914 #3D8914
triadic
#788914 #147889 #891478
tetradic
#788914 #14895F #251489 #89143D
square
#788914 #14895F #251489 #89143D
split-complementary
#788914 #143D89 #5F1489
monochromatic
#1A1E04 #49540C #788914 #A7BE1C #C9E236

Accessibility & contrast

On white

3.90
#788914 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#788914 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788914
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788914#FFFFFF#000000##000000
##7889141.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918121
Tritanopia (blue-blind)
#808174
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #788914;
/* rgb */ color: rgb(120, 137, 20);
/* oklch */ color: oklch(59.6% 0.133 118.3);
Tailwind
colors: {
  custom: {
    50: '#a3ab5f',
    500: '#788914',
    950: '#000000',
  },
}
SCSS
$custom: #788914;
$custom-light: #a3ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#788914",
  "rgb": {
    "r": 120,
    "g": 137,
    "b": 20
  },
  "hsl": {
    "h": 68.718,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59599,
    "c": 0.13291,
    "h": 118.3
  },
  "luminance": 0.21935
}

Semantic roles & 50–950 ramp

primary
#788914
secondary
#4E3CBD
accent
#37F152
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #788914

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

Preview Lab → · Contrast checker → · Palette generator →

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