#787523#787523

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

Color values

HEX#787523
RGBrgb(120, 117, 35)
HSLhsl(58, 55%, 30%)
HSVhsv(58, 71%, 47%)
CMYKcmyk(0%, 2.5%, 70.8%, 52.9%)
CIE-LABlab(48.05, -9.48, 43.51)
CIE-LCHlch(48.05, 44.53, 102.29°)
OKLaboklab(54.89% -0.0302 0.0973)
OKLCHoklch(54.89% 0.102 107.3)
XYZxyz(14.4109, 16.8375, 4.0806)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787523 #232678
analogous
#784A23 #787523 #517823
triadic
#787523 #237875 #752378
tetradic
#787523 #23784A #232678 #782351
square
#787523 #23784A #232678 #782351
split-complementary
#787523 #235178 #4A2378
monochromatic
#191907 #494715 #787523 #A7A331 #CAC64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787523#FFFFFF#000000##FFFFFF
##7875231.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)
#7F7017
Deuteranopia (green-blind)
#817329
Tritanopia (blue-blind)
#816D65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787523;
/* rgb */ color: rgb(120, 117, 35);
/* oklch */ color: oklch(54.9% 0.102 107.3);
Tailwind
colors: {
  custom: {
    50: '#a29c63',
    500: '#787523',
    950: '#000000',
  },
}
SCSS
$custom: #787523;
$custom-light: #a29c63;
$custom-dark: #000000;
JSON
{
  "hex": "#787523",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 35
  },
  "hsl": {
    "h": 57.882,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.1019,
    "h": 107.3
  },
  "luminance": 0.16837
}

Semantic roles & 50–950 ramp

primary
#787523
secondary
#4C4FAB
accent
#4FDE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #787523

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

Preview Lab → · Contrast checker → · Palette generator →

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