#787922#787922

#787922 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.107 H 110.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#787922
RGBrgb(120, 121, 34)
HSLhsl(61, 56%, 30%)
HSVhsv(61, 72%, 47%)
CMYKcmyk(0.8%, 0%, 71.9%, 52.5%)
CIE-LABlab(49.23, -11.74, 45.10)
CIE-LCHlch(49.23, 46.60, 104.60°)
OKLaboklab(55.83% -0.0367 0.1005)
OKLCHoklch(55.83% 0.107 110.1)
XYZxyz(14.8723, 17.7837, 4.1622)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787922 #232279
analogous
#794F22 #787922 #4C7922
triadic
#787922 #227879 #792278
tetradic
#787922 #22794F #232279 #79224C
square
#787922 #22794F #232279 #79224C
split-complementary
#787922 #224C79 #4F2279
monochromatic
#191907 #494915 #787922 #A7A92F #CACC49

Accessibility & contrast

On white

4.61
#787922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#787922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787922
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787922#FFFFFF#000000##FFFFFF
##7879221.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#817168
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787922;
/* rgb */ color: rgb(120, 121, 34);
/* oklch */ color: oklch(55.8% 0.107 110.1);
Tailwind
colors: {
  custom: {
    50: '#a29f63',
    500: '#787922',
    950: '#000000',
  },
}
SCSS
$custom: #787922;
$custom-light: #a29f63;
$custom-dark: #000000;
JSON
{
  "hex": "#787922",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 60.69,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55831,
    "c": 0.10697,
    "h": 110.1
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

primary
#787922
secondary
#4C4BAC
accent
#48DF4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #787922

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

Preview Lab → · Contrast checker → · Palette generator →

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