#797523#797523

#797523 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.0% C 0.102 H 106.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#797523
RGBrgb(121, 117, 35)
HSLhsl(57, 55%, 31%)
HSVhsv(57, 71%, 47%)
CMYKcmyk(0%, 3.3%, 71.1%, 52.5%)
CIE-LABlab(48.15, -9.02, 43.63)
CIE-LCHlch(48.15, 44.55, 101.67°)
OKLaboklab(54.99% -0.029 0.0975)
OKLCHoklch(54.99% 0.102 106.6)
XYZxyz(14.5504, 16.9094, 4.0872)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797523 #232779
analogous
#794A23 #797523 #527923
triadic
#797523 #237975 #752379
tetradic
#797523 #23794A #232779 #792352
square
#797523 #23794A #232779 #792352
split-complementary
#797523 #235279 #4A2379
monochromatic
#1A1908 #4A4715 #797523 #A8A331 #CBC54B

Accessibility & contrast

On white

4.79
#797523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#797523 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797523
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797523#FFFFFF#000000##FFFFFF
##7975231.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7017
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#826D65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797523;
/* rgb */ color: rgb(121, 117, 35);
/* oklch */ color: oklch(55.0% 0.102 106.6);
Tailwind
colors: {
  custom: {
    50: '#a29c63',
    500: '#797523',
    950: '#000000',
  },
}
SCSS
$custom: #797523;
$custom-light: #a29c63;
$custom-dark: #000000;
JSON
{
  "hex": "#797523",
  "rgb": {
    "r": 121,
    "g": 117,
    "b": 35
  },
  "hsl": {
    "h": 57.209,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.10176,
    "h": 106.6
  },
  "luminance": 0.16909
}

Semantic roles & 50–950 ramp

primary
#797523
secondary
#4C51AC
accent
#50DE49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797523

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

Preview Lab → · Contrast checker → · Palette generator →

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