#788619#788619

#788619 is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 58.9% C 0.127 H 117.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#788619
RGBrgb(120, 134, 25)
HSLhsl(68, 69%, 31%)
HSVhsv(68, 81%, 53%)
CMYKcmyk(10.4%, 0%, 81.3%, 47.5%)
CIE-LABlab(53.07, -19.11, 51.90)
CIE-LCHlch(53.07, 55.31, 110.21°)
OKLaboklab(58.89% -0.058 0.1132)
OKLCHoklch(58.89% 0.127 117.1)
XYZxyz(16.4467, 21.1137, 4.1285)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788619 #271986
analogous
#865D19 #788619 #418619
triadic
#788619 #197886 #861978
tetradic
#788619 #19865D #271986 #861941
square
#788619 #19865D #271986 #861941
split-complementary
#788619 #194186 #5D1986
monochromatic
#1C1F06 #4A520F #788619 #A6BA23 #C7DB3E

Accessibility & contrast

On white

4.02
#788619 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#788619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788619
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788619#FFFFFF#000000##000000
##7886191.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#807E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #788619;
/* rgb */ color: rgb(120, 134, 25);
/* oklch */ color: oklch(58.9% 0.127 117.1);
Tailwind
colors: {
  custom: {
    50: '#a2a961',
    500: '#788619',
    950: '#000000',
  },
}
SCSS
$custom: #788619;
$custom-light: #a2a961;
$custom-dark: #000000;
JSON
{
  "hex": "#788619",
  "rgb": {
    "r": 120,
    "g": 134,
    "b": 25
  },
  "hsl": {
    "h": 67.706,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58894,
    "c": 0.12718,
    "h": 117.1
  },
  "luminance": 0.21113
}

Semantic roles & 50–950 ramp

primary
#788619
secondary
#5141BA
accent
#3CEB53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #788619

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

Preview Lab → · Contrast checker → · Palette generator →

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