#787525#787525

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

Color values

HEX#787525
RGBrgb(120, 117, 37)
HSLhsl(58, 53%, 31%)
HSVhsv(58, 69%, 47%)
CMYKcmyk(0%, 2.5%, 69.2%, 52.9%)
CIE-LABlab(48.07, -9.36, 42.67)
CIE-LCHlch(48.07, 43.68, 102.37°)
OKLaboklab(54.91% -0.0297 0.0959)
OKLCHoklch(54.91% 0.1 107.2)
XYZxyz(14.4415, 16.8497, 4.2415)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787525 #252878
analogous
#784B25 #787525 #517825
triadic
#787525 #257875 #752578
tetradic
#787525 #25784B #252878 #782551
square
#787525 #25784B #252878 #782551
split-complementary
#787525 #255178 #4B2578
monochromatic
#1A1A08 #494717 #787525 #A7A333 #C9C44F

Accessibility & contrast

On white

4.81
#787525 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #787525
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787525#FFFFFF#000000##FFFFFF
##7875251.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F701A
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#816D65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787525;
/* rgb */ color: rgb(120, 117, 37);
/* oklch */ color: oklch(54.9% 0.100 107.2);
Tailwind
colors: {
  custom: {
    50: '#a29c64',
    500: '#787525',
    950: '#000000',
  },
}
SCSS
$custom: #787525;
$custom-light: #a29c64;
$custom-dark: #000000;
JSON
{
  "hex": "#787525",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 37
  },
  "hsl": {
    "h": 57.831,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54911,
    "c": 0.10038,
    "h": 107.2
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#787525
secondary
#4E52AA
accent
#51DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #787525

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

Preview Lab → · Contrast checker → · Palette generator →

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