#787948#787948

#787948 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.069 H 109.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#787948
RGBrgb(120, 121, 72)
HSLhsl(61, 25%, 38%)
HSVhsv(61, 40%, 47%)
CMYKcmyk(0.8%, 0%, 40.5%, 52.5%)
CIE-LABlab(49.66, -8.37, 26.74)
CIE-LCHlch(49.66, 28.02, 107.39°)
OKLaboklab(56.31% -0.023 0.0652)
OKLCHoklch(56.31% 0.069 109.4)
XYZxyz(15.7530, 18.1360, 8.8004)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787948 #494879
analogous
#796148 #787948 #607948
triadic
#787948 #487879 #794878
tetradic
#787948 #487961 #494879 #794860
square
#787948 #487961 #494879 #794860
split-complementary
#787948 #486079 #614879
monochromatic
#2C2C1A #525331 #787948 #9E9F5F #B5B685

Accessibility & contrast

On white

4.54
#787948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#787948 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787948
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787948#FFFFFF#000000##000000
##7879481.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#807544
Deuteranopia (green-blind)
#81774A
Tritanopia (blue-blind)
#7E736D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #787948;
/* rgb */ color: rgb(120, 121, 72);
/* oklch */ color: oklch(56.3% 0.069 109.4);
Tailwind
colors: {
  custom: {
    50: '#a09f7c',
    500: '#787948',
    950: '#000000',
  },
}
SCSS
$custom: #787948;
$custom-light: #a09f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#787948",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 61.224,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.06912,
    "h": 109.4
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#787948
secondary
#7B7AA2
accent
#66C268
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #787948

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

Preview Lab → · Contrast checker → · Palette generator →

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