#797715#797715

#797715 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.112 H 108.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#797715
RGBrgb(121, 119, 21)
HSLhsl(59, 70%, 28%)
HSVhsv(59, 83%, 47%)
CMYKcmyk(0%, 1.7%, 82.6%, 52.5%)
CIE-LABlab(48.65, -10.79, 49.23)
CIE-LCHlch(48.65, 50.40, 102.36°)
OKLaboklab(55.36% -0.0353 0.1067)
OKLCHoklch(55.36% 0.112 108.3)
XYZxyz(14.6179, 17.3132, 3.2811)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797715 #151779
analogous
#794515 #797715 #497915
triadic
#797715 #157977 #771579
tetradic
#797715 #157945 #151779 #791549
square
#797715 #157945 #151779 #791549
split-complementary
#797715 #154979 #451579
monochromatic
#1A1A05 #45440C #797715 #ADAA1E #DBD72E

Accessibility & contrast

On white

4.71
#797715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#797715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797715
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797715#FFFFFF#000000##FFFFFF
##7977151.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#826F65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797715;
/* rgb */ color: rgb(121, 119, 21);
/* oklch */ color: oklch(55.4% 0.112 108.3);
Tailwind
colors: {
  custom: {
    50: '#a39e5d',
    500: '#797715',
    950: '#000000',
  },
}
SCSS
$custom: #797715;
$custom-light: #a39e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#797715",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 58.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55365,
    "c": 0.11238,
    "h": 108.3
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#797715
secondary
#3B3EAF
accent
#3EED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #797715

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

Preview Lab → · Contrast checker → · Palette generator →

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