#788219#788219

#788219 is a mid, vivid yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.123 H 115.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#788219
RGBrgb(120, 130, 25)
HSLhsl(66, 68%, 30%)
HSVhsv(66, 81%, 51%)
CMYKcmyk(7.7%, 0%, 80.8%, 49%)
CIE-LABlab(51.87, -17.02, 50.82)
CIE-LCHlch(51.87, 53.60, 108.51°)
OKLaboklab(57.93% -0.0522 0.1109)
OKLCHoklch(57.93% 0.123 115.2)
XYZxyz(15.9043, 20.0288, 3.9476)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788219 #231982
analogous
#825719 #788219 #448219
triadic
#788219 #197882 #821978
tetradic
#788219 #198257 #231982 #821944
square
#788219 #198257 #231982 #821944
split-complementary
#788219 #194482 #571982
monochromatic
#191B05 #494F0F #788219 #A7B523 #CAD93C

Accessibility & contrast

On white

4.20
#788219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#788219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788219
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788219#FFFFFF#000000##000000
##7882191.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#807A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #788219;
/* rgb */ color: rgb(120, 130, 25);
/* oklch */ color: oklch(57.9% 0.123 115.2);
Tailwind
colors: {
  custom: {
    50: '#a2a660',
    500: '#788219',
    950: '#000000',
  },
}
SCSS
$custom: #788219;
$custom-light: #a2a660;
$custom-dark: #000000;
JSON
{
  "hex": "#788219",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 65.714,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.12258,
    "h": 115.2
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#788219
secondary
#4C41B6
accent
#3DEB4E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788219

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

Preview Lab → · Contrast checker → · Palette generator →

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