#787152#787152

#787152 is a mid, muted yellow. Relative luminance 0.164; OKLCH L 54.7% C 0.046 H 96.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#787152
RGBrgb(120, 113, 82)
HSLhsl(49, 19%, 40%)
HSVhsv(49, 32%, 47%)
CMYKcmyk(0%, 5.8%, 31.7%, 52.9%)
CIE-LABlab(47.51, -2.51, 18.23)
CIE-LCHlch(47.51, 18.40, 97.86°)
OKLaboklab(54.67% -0.0055 0.0458)
OKLCHoklch(54.67% 0.046 96.9)
XYZxyz(15.1740, 16.4129, 10.3497)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787152 #525978
analogous
#785E52 #787152 #6C7852
triadic
#787152 #527871 #715278
tetradic
#787152 #52785E #525978 #78526C
square
#787152 #52785E #525978 #78526C
split-complementary
#787152 #526C78 #5E5278
monochromatic
#2F2D20 #544F39 #787152 #9B926C #B4AD91

Accessibility & contrast

On white

4.90
#787152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#787152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787152
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787152#FFFFFF#000000##FFFFFF
##7871521.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F50
Deuteranopia (green-blind)
#797253
Tritanopia (blue-blind)
#7E6C69
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787152;
/* rgb */ color: rgb(120, 113, 82);
/* oklch */ color: oklch(54.7% 0.046 96.9);
Tailwind
colors: {
  custom: {
    50: '#9f9983',
    500: '#787152',
    950: '#000000',
  },
}
SCSS
$custom: #787152;
$custom-light: #9f9983;
$custom-dark: #000000;
JSON
{
  "hex": "#787152",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 82
  },
  "hsl": {
    "h": 48.947,
    "s": 18.812,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54665,
    "c": 0.04608,
    "h": 96.9
  },
  "luminance": 0.16413
}

Semantic roles & 50–950 ramp

primary
#787152
secondary
#858AA1
accent
#7BBB6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0A
muted
#7E7E7C

Preview Lab

Preview with #787152

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

Preview Lab → · Contrast checker → · Palette generator →

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