#787929#787929

#787929 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.9% C 0.102 H 110.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#787929
RGBrgb(120, 121, 41)
HSLhsl(61, 49%, 32%)
HSVhsv(61, 66%, 47%)
CMYKcmyk(0.8%, 0%, 66.1%, 52.5%)
CIE-LABlab(49.29, -11.31, 42.16)
CIE-LCHlch(49.29, 43.65, 105.01°)
OKLaboklab(55.89% -0.0347 0.0955)
OKLCHoklch(55.89% 0.102 110)
XYZxyz(14.9838, 17.8283, 4.7493)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787929 #2A2979
analogous
#795229 #787929 #507929
triadic
#787929 #297879 #792978
tetradic
#787929 #297952 #2A2979 #792950
square
#787929 #297952 #2A2979 #792950
split-complementary
#787929 #295079 #522979
monochromatic
#1D1E0A #4B4B1A #787929 #A5A738 #C5C656

Accessibility & contrast

On white

4.60
#787929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#787929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787929
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787929#FFFFFF#000000##FFFFFF
##7879291.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#807168
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787929;
/* rgb */ color: rgb(120, 121, 41);
/* oklch */ color: oklch(55.9% 0.102 110.0);
Tailwind
colors: {
  custom: {
    50: '#a19f67',
    500: '#787929',
    950: '#000000',
  },
}
SCSS
$custom: #787929;
$custom-light: #a19f67;
$custom-dark: #000000;
JSON
{
  "hex": "#787929",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 60.75,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55892,
    "c": 0.10162,
    "h": 110
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#787929
secondary
#5453AB
accent
#4FD951
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #787929

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

Preview Lab → · Contrast checker → · Palette generator →

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