#788319#788319

#788319 is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.2% C 0.124 H 115.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#788319
RGBrgb(120, 131, 25)
HSLhsl(66, 68%, 31%)
HSVhsv(66, 81%, 51%)
CMYKcmyk(8.4%, 0%, 80.9%, 48.6%)
CIE-LABlab(52.17, -17.54, 51.09)
CIE-LCHlch(52.17, 54.02, 108.95°)
OKLaboklab(58.17% -0.0537 0.1115)
OKLCHoklch(58.17% 0.124 115.7)
XYZxyz(16.0380, 20.2961, 3.9922)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788319 #241983
analogous
#835919 #788319 #438319
triadic
#788319 #197883 #831978
tetradic
#788319 #198359 #241983 #831943
square
#788319 #198359 #241983 #831943
split-complementary
#788319 #194383 #591983
monochromatic
#1A1C05 #49500F #788319 #A7B623 #CADA3D

Accessibility & contrast

On white

4.15
#788319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#788319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788319
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788319#FFFFFF#000000##000000
##7883191.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#807B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #788319;
/* rgb */ color: rgb(120, 131, 25);
/* oklch */ color: oklch(58.2% 0.124 115.7);
Tailwind
colors: {
  custom: {
    50: '#a2a660',
    500: '#788319',
    950: '#000000',
  },
}
SCSS
$custom: #788319;
$custom-light: #a2a660;
$custom-dark: #000000;
JSON
{
  "hex": "#788319",
  "rgb": {
    "r": 120,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 66.226,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.12373,
    "h": 115.7
  },
  "luminance": 0.20296
}

Semantic roles & 50–950 ramp

primary
#788319
secondary
#4D41B7
accent
#3DEB4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #788319

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

Preview Lab → · Contrast checker → · Palette generator →

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