#787526#787526

#787526 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.9% C 0.100 H 107.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#787526
RGBrgb(120, 117, 38)
HSLhsl(58, 52%, 31%)
HSVhsv(58, 68%, 47%)
CMYKcmyk(0%, 2.5%, 68.3%, 52.9%)
CIE-LABlab(48.08, -9.30, 42.24)
CIE-LCHlch(48.08, 43.25, 102.41°)
OKLaboklab(54.92% -0.0294 0.0952)
OKLCHoklch(54.92% 0.1 107.2)
XYZxyz(14.4574, 16.8561, 4.3253)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787526 #262978
analogous
#784C26 #787526 #527826
triadic
#787526 #267875 #752678
tetradic
#787526 #26784C #262978 #782652
square
#787526 #26784C #262978 #782652
split-complementary
#787526 #265278 #4C2678
monochromatic
#1B1A09 #4A4817 #787526 #A6A235 #C8C351

Accessibility & contrast

On white

4.80
#787526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#787526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787526
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787526#FFFFFF#000000##FFFFFF
##7875261.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F701B
Deuteranopia (green-blind)
#80742B
Tritanopia (blue-blind)
#816D65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787526;
/* rgb */ color: rgb(120, 117, 38);
/* oklch */ color: oklch(54.9% 0.100 107.2);
Tailwind
colors: {
  custom: {
    50: '#a29c65',
    500: '#787526',
    950: '#000000',
  },
}
SCSS
$custom: #787526;
$custom-light: #a29c65;
$custom-dark: #000000;
JSON
{
  "hex": "#787526",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 57.805,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5492,
    "c": 0.0996,
    "h": 107.2
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#787526
secondary
#5053AA
accent
#52DB4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #787526

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

Preview Lab → · Contrast checker → · Palette generator →

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