#788719#788719

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

Color values

HEX#788719
RGBrgb(120, 135, 25)
HSLhsl(68, 69%, 31%)
HSVhsv(68, 81%, 53%)
CMYKcmyk(11.1%, 0%, 81.5%, 47.1%)
CIE-LABlab(53.38, -19.63, 52.17)
CIE-LCHlch(53.38, 55.74, 110.62°)
OKLaboklab(59.14% -0.0594 0.1138)
OKLCHoklch(59.14% 0.128 117.6)
XYZxyz(16.5856, 21.3914, 4.1747)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788719 #281987
analogous
#875F19 #788719 #418719
triadic
#788719 #197887 #871978
tetradic
#788719 #19875F #281987 #871941
square
#788719 #19875F #281987 #871941
split-complementary
#788719 #194187 #5F1987
monochromatic
#1C2006 #4A530F #788719 #A6BB23 #C6DB3F

Accessibility & contrast

On white

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

On black

5.28
#788719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788719
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788719#FFFFFF#000000##000000
##7887191.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #788719;
/* rgb */ color: rgb(120, 135, 25);
/* oklch */ color: oklch(59.1% 0.128 117.6);
Tailwind
colors: {
  custom: {
    50: '#a2a961',
    500: '#788719',
    950: '#000000',
  },
}
SCSS
$custom: #788719;
$custom-light: #a2a961;
$custom-dark: #000000;
JSON
{
  "hex": "#788719",
  "rgb": {
    "r": 120,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 68.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59136,
    "c": 0.12835,
    "h": 117.6
  },
  "luminance": 0.21391
}

Semantic roles & 50–950 ramp

primary
#788719
secondary
#5241BA
accent
#3CEC54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788719

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

Preview Lab → · Contrast checker → · Palette generator →

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