#787839#787839

#787839 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.085 H 108.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#787839
RGBrgb(120, 120, 57)
HSLhsl(60, 36%, 35%)
HSVhsv(60, 53%, 47%)
CMYKcmyk(0%, 0%, 52.5%, 52.9%)
CIE-LABlab(49.16, -9.45, 34.21)
CIE-LCHlch(49.16, 35.49, 105.43°)
OKLaboklab(55.84% -0.0276 0.0807)
OKLCHoklch(55.84% 0.085 108.9)
XYZxyz(15.2011, 17.7218, 6.4900)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787839 #393978
analogous
#785939 #787839 #597839
triadic
#787839 #397878 #783978
tetradic
#787839 #397859 #393978 #783959
square
#787839 #397859 #393978 #783959
split-complementary
#787839 #395978 #593978
monochromatic
#252512 #4F4F25 #787839 #A1A14D #BBBB70

Accessibility & contrast

On white

4.62
#787839 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#787839 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787839
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787839#FFFFFF#000000##FFFFFF
##7878391.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817433
Deuteranopia (green-blind)
#81763C
Tritanopia (blue-blind)
#80716A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787839;
/* rgb */ color: rgb(120, 120, 57);
/* oklch */ color: oklch(55.8% 0.085 108.9);
Tailwind
colors: {
  custom: {
    50: '#a09e71',
    500: '#787839',
    950: '#000000',
  },
}
SCSS
$custom: #787839;
$custom-light: #a09e71;
$custom-dark: #000000;
JSON
{
  "hex": "#787839",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 57
  },
  "hsl": {
    "h": 60,
    "s": 35.593,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55842,
    "c": 0.08523,
    "h": 108.9
  },
  "luminance": 0.17721
}

Semantic roles & 50–950 ramp

primary
#787839
secondary
#6868A4
accent
#5CCC5C
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #787839

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

Preview Lab → · Contrast checker → · Palette generator →

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