#787348#787348

#787348 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.062 H 102.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#787348
RGBrgb(120, 115, 72)
HSLhsl(54, 25%, 38%)
HSVhsv(54, 40%, 47%)
CMYKcmyk(0%, 4.2%, 40%, 52.9%)
CIE-LABlab(47.91, -4.99, 24.49)
CIE-LCHlch(47.91, 25.00, 101.51°)
OKLaboklab(54.92% -0.0133 0.0601)
OKLCHoklch(54.92% 0.062 102.5)
XYZxyz(15.0464, 16.7228, 8.5649)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787348 #484D78
analogous
#785B48 #787348 #657848
triadic
#787348 #487873 #734878
tetradic
#787348 #48785B #484D78 #784865
square
#787348 #48785B #484D78 #784865
split-complementary
#787348 #486578 #5B4878
monochromatic
#2B2A1A #524E31 #787348 #9E985F #B6B185

Accessibility & contrast

On white

4.83
#787348 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#787348 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787348
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787348#FFFFFF#000000##FFFFFF
##7873481.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7045
Deuteranopia (green-blind)
#7C734A
Tritanopia (blue-blind)
#7F6D68
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787348;
/* rgb */ color: rgb(120, 115, 72);
/* oklch */ color: oklch(54.9% 0.062 102.5);
Tailwind
colors: {
  custom: {
    50: '#a09b7b',
    500: '#787348',
    950: '#000000',
  },
}
SCSS
$custom: #787348;
$custom-light: #a09b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#787348",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 72
  },
  "hsl": {
    "h": 53.75,
    "s": 25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5492,
    "c": 0.06151,
    "h": 102.5
  },
  "luminance": 0.16722
}

Semantic roles & 50–950 ramp

primary
#787348
secondary
#7A7EA2
accent
#70C166
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #787348

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

Preview Lab → · Contrast checker → · Palette generator →

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