#788419#788419

#788419 is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.4% C 0.125 H 116.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#788419
RGBrgb(120, 132, 25)
HSLhsl(67, 68%, 31%)
HSVhsv(67, 81%, 52%)
CMYKcmyk(9.1%, 0%, 81.1%, 48.2%)
CIE-LABlab(52.47, -18.07, 51.36)
CIE-LCHlch(52.47, 54.45, 109.38°)
OKLaboklab(58.41% -0.0551 0.1121)
OKLCHoklch(58.41% 0.125 116.2)
XYZxyz(16.1729, 20.5660, 4.0372)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788419 #251984
analogous
#845A19 #788419 #428419
triadic
#788419 #197884 #841978
tetradic
#788419 #19845A #251984 #841942
square
#788419 #19845A #251984 #841942
split-complementary
#788419 #194284 #5A1984
monochromatic
#1A1D06 #49510F #788419 #A7B723 #C9DA3D

Accessibility & contrast

On white

4.11
#788419 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#788419 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788419
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788419#FFFFFF#000000##000000
##7884191.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#807C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #788419;
/* rgb */ color: rgb(120, 132, 25);
/* oklch */ color: oklch(58.4% 0.125 116.2);
Tailwind
colors: {
  custom: {
    50: '#a2a760',
    500: '#788419',
    950: '#000000',
  },
}
SCSS
$custom: #788419;
$custom-light: #a2a760;
$custom-dark: #000000;
JSON
{
  "hex": "#788419",
  "rgb": {
    "r": 120,
    "g": 132,
    "b": 25
  },
  "hsl": {
    "h": 66.729,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5841,
    "c": 0.12487,
    "h": 116.2
  },
  "luminance": 0.20566
}

Semantic roles & 50–950 ramp

primary
#788419
secondary
#4E41B8
accent
#3DEB50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #788419

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

Preview Lab → · Contrast checker → · Palette generator →

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