#797425#797425

#797425 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.099 H 105.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#797425
RGBrgb(121, 116, 37)
HSLhsl(56, 53%, 31%)
HSVhsv(56, 69%, 47%)
CMYKcmyk(0%, 4.1%, 69.4%, 52.5%)
CIE-LABlab(47.87, -8.34, 42.49)
CIE-LCHlch(47.87, 43.30, 101.10°)
OKLaboklab(54.77% -0.0268 0.0955)
OKLCHoklch(54.77% 0.099 105.7)
XYZxyz(14.4650, 16.6898, 4.2094)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797425 #252A79
analogous
#794A25 #797425 #547925
triadic
#797425 #257974 #742579
tetradic
#797425 #25794A #252A79 #792554
square
#797425 #25794A #252A79 #792554
split-complementary
#797425 #255479 #4A2579
monochromatic
#1B1A08 #4A4717 #797425 #A8A133 #C9C24F

Accessibility & contrast

On white

4.84
#797425 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#797425 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797425
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797425#FFFFFF#000000##FFFFFF
##7974251.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701A
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#826C64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #797425;
/* rgb */ color: rgb(121, 116, 37);
/* oklch */ color: oklch(54.8% 0.099 105.7);
Tailwind
colors: {
  custom: {
    50: '#a29b64',
    500: '#797425',
    950: '#000000',
  },
}
SCSS
$custom: #797425;
$custom-light: #a29b64;
$custom-dark: #000000;
JSON
{
  "hex": "#797425",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 37
  },
  "hsl": {
    "h": 56.429,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.09919,
    "h": 105.7
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#797425
secondary
#4E54AB
accent
#54DD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797425

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

Preview Lab → · Contrast checker → · Palette generator →

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