#787933#787933

#787933 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.093 H 109.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#787933
RGBrgb(120, 121, 51)
HSLhsl(61, 41%, 34%)
HSVhsv(61, 58%, 47%)
CMYKcmyk(0.8%, 0%, 57.9%, 52.5%)
CIE-LABlab(49.38, -10.54, 37.53)
CIE-LCHlch(49.38, 38.98, 105.69°)
OKLaboklab(56% -0.0314 0.0871)
OKLCHoklch(56% 0.093 109.8)
XYZxyz(15.1810, 17.9072, 5.7881)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787933 #343379
analogous
#795733 #787933 #557933
triadic
#787933 #337879 #793378
tetradic
#787933 #337957 #343379 #793355
square
#787933 #337957 #343379 #793355
split-complementary
#787933 #335579 #573379
monochromatic
#23230F #4D4E21 #787933 #A3A445 #BEBF67

Accessibility & contrast

On white

4.58
#787933 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#787933 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787933
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787933#FFFFFF#000000##000000
##7879331.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82742C
Deuteranopia (green-blind)
#837637
Tritanopia (blue-blind)
#80726A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787933;
/* rgb */ color: rgb(120, 121, 51);
/* oklch */ color: oklch(56.0% 0.093 109.8);
Tailwind
colors: {
  custom: {
    50: '#a19f6d',
    500: '#787933',
    950: '#000000',
  },
}
SCSS
$custom: #787933;
$custom-light: #a19f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#787933",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 51
  },
  "hsl": {
    "h": 60.857,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56,
    "c": 0.0926,
    "h": 109.8
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#787933
secondary
#6261A7
accent
#57D159
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #787933

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

Preview Lab → · Contrast checker → · Palette generator →

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