#797615#797615

#797615 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.1% C 0.111 H 107.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#797615
RGBrgb(121, 118, 21)
HSLhsl(58, 70%, 28%)
HSVhsv(58, 83%, 47%)
CMYKcmyk(0%, 2.5%, 82.6%, 52.5%)
CIE-LABlab(48.36, -10.24, 48.97)
CIE-LCHlch(48.36, 50.03, 101.81°)
OKLaboklab(55.13% -0.0338 0.1061)
OKLCHoklch(55.13% 0.111 107.7)
XYZxyz(14.4995, 17.0765, 3.2416)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797615 #151879
analogous
#794415 #797615 #4A7915
triadic
#797615 #157976 #761579
tetradic
#797615 #157944 #151879 #79154A
square
#797615 #157944 #151879 #79154A
split-complementary
#797615 #154A79 #441579
monochromatic
#1A1905 #45430C #797615 #ADA91E #DBD52E

Accessibility & contrast

On white

4.76
#797615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#797615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797615
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797615#FFFFFF#000000##FFFFFF
##7976151.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#826E64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797615;
/* rgb */ color: rgb(121, 118, 21);
/* oklch */ color: oklch(55.1% 0.111 107.7);
Tailwind
colors: {
  custom: {
    50: '#a39d5d',
    500: '#797615',
    950: '#000000',
  },
}
SCSS
$custom: #797615;
$custom-light: #a39d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#797615",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 58.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55129,
    "c": 0.11138,
    "h": 107.7
  },
  "luminance": 0.17076
}

Semantic roles & 50–950 ramp

primary
#797615
secondary
#3B3FAF
accent
#40ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #797615

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

Preview Lab → · Contrast checker → · Palette generator →

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