#797625#797625

#797625 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.2% C 0.101 H 107.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#797625
RGBrgb(121, 118, 37)
HSLhsl(58, 53%, 31%)
HSVhsv(58, 69%, 47%)
CMYKcmyk(0%, 2.5%, 69.4%, 52.5%)
CIE-LABlab(48.46, -9.45, 43.09)
CIE-LCHlch(48.46, 44.12, 102.37°)
OKLaboklab(55.24% -0.03 0.0968)
OKLCHoklch(55.24% 0.101 107.2)
XYZxyz(14.6980, 17.1559, 4.2871)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797625 #252879
analogous
#794C25 #797625 #527925
triadic
#797625 #257976 #762579
tetradic
#797625 #25794C #252879 #792552
square
#797625 #25794C #252879 #792552
split-complementary
#797625 #255279 #4C2579
monochromatic
#1B1B08 #4A4817 #797625 #A8A433 #C9C54F

Accessibility & contrast

On white

4.74
#797625 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#797625 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797625
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797625#FFFFFF#000000##FFFFFF
##7976251.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807119
Deuteranopia (green-blind)
#82742A
Tritanopia (blue-blind)
#826E66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797625;
/* rgb */ color: rgb(121, 118, 37);
/* oklch */ color: oklch(55.2% 0.101 107.2);
Tailwind
colors: {
  custom: {
    50: '#a29d65',
    500: '#797625',
    950: '#000000',
  },
}
SCSS
$custom: #797625;
$custom-light: #a29d65;
$custom-dark: #000000;
JSON
{
  "hex": "#797625",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 37
  },
  "hsl": {
    "h": 57.857,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5524,
    "c": 0.1013,
    "h": 107.2
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#797625
secondary
#4E52AB
accent
#50DD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797625

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

Preview Lab → · Contrast checker → · Palette generator →

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