#787149#787149

#787149 is a mid, muted yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.058 H 99.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#787149
RGBrgb(120, 113, 73)
HSLhsl(51, 24%, 38%)
HSVhsv(51, 39%, 47%)
CMYKcmyk(0%, 5.8%, 39.2%, 52.9%)
CIE-LABlab(47.35, -3.72, 23.20)
CIE-LCHlch(47.35, 23.49, 99.12°)
OKLaboklab(54.48% -0.0096 0.0571)
OKLCHoklch(54.48% 0.058 99.5)
XYZxyz(14.8537, 16.2848, 8.6629)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787149 #495078
analogous
#785949 #787149 #677849
triadic
#787149 #497871 #714978
tetradic
#787149 #497859 #495078 #784967
square
#787149 #497859 #495078 #784967
split-complementary
#787149 #496778 #594978
monochromatic
#2C291B #524D32 #787149 #9E9560 #B5AE86

Accessibility & contrast

On white

4.93
#787149 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#787149 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787149
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787149#FFFFFF#000000##FFFFFF
##7871491.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F46
Deuteranopia (green-blind)
#7A724B
Tritanopia (blue-blind)
#7F6C67
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #787149;
/* rgb */ color: rgb(120, 113, 73);
/* oklch */ color: oklch(54.5% 0.058 99.5);
Tailwind
colors: {
  custom: {
    50: '#a0997c',
    500: '#787149',
    950: '#000000',
  },
}
SCSS
$custom: #787149;
$custom-light: #a0997c;
$custom-dark: #000000;
JSON
{
  "hex": "#787149",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 73
  },
  "hsl": {
    "h": 51.064,
    "s": 24.352,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.05791,
    "h": 99.5
  },
  "luminance": 0.16284
}

Semantic roles & 50–950 ramp

primary
#787149
secondary
#7B81A2
accent
#74C167
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #787149

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

Preview Lab → · Contrast checker → · Palette generator →

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