#797323#797323

#797323 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.5% C 0.100 H 105.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#797323
RGBrgb(121, 115, 35)
HSLhsl(56, 55%, 31%)
HSVhsv(56, 71%, 47%)
CMYKcmyk(0%, 5%, 71.1%, 52.5%)
CIE-LABlab(47.56, -7.90, 43.04)
CIE-LCHlch(47.56, 43.76, 100.40°)
OKLaboklab(54.52% -0.0258 0.0963)
OKLCHoklch(54.52% 0.1 105)
XYZxyz(14.3198, 16.4483, 4.0103)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797323 #232979
analogous
#794823 #797323 #547923
triadic
#797323 #237973 #732379
tetradic
#797323 #237948 #232979 #792354
square
#797323 #237948 #232979 #792354
split-complementary
#797323 #235479 #482379
monochromatic
#1A1908 #4A4615 #797323 #A8A031 #CBC24B

Accessibility & contrast

On white

4.90
#797323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#797323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797323
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797323#FFFFFF#000000##FFFFFF
##7973231.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F17
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#826B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797323;
/* rgb */ color: rgb(121, 115, 35);
/* oklch */ color: oklch(54.5% 0.100 105.0);
Tailwind
colors: {
  custom: {
    50: '#a29b63',
    500: '#797323',
    950: '#000000',
  },
}
SCSS
$custom: #797323;
$custom-light: #a29b63;
$custom-dark: #000000;
JSON
{
  "hex": "#797323",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 35
  },
  "hsl": {
    "h": 55.814,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54519,
    "c": 0.0997,
    "h": 105
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#797323
secondary
#4C53AC
accent
#54DE49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #797323

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

Preview Lab → · Contrast checker → · Palette generator →

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