#797925#797925

#797925 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.105 H 109.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#797925
RGBrgb(121, 121, 37)
HSLhsl(60, 53%, 31%)
HSVhsv(60, 69%, 47%)
CMYKcmyk(0%, 0%, 69.4%, 52.5%)
CIE-LABlab(49.34, -11.11, 43.99)
CIE-LCHlch(49.34, 45.37, 104.17°)
OKLaboklab(55.95% -0.0346 0.0987)
OKLCHoklch(55.95% 0.105 109.4)
XYZxyz(15.0570, 17.8737, 4.4067)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797925 #252579
analogous
#794F25 #797925 #4F7925
triadic
#797925 #257979 #792579
tetradic
#797925 #25794F #252579 #79254F
square
#797925 #25794F #252579 #79254F
split-complementary
#797925 #254F79 #4F2579
monochromatic
#1B1B08 #4A4A17 #797925 #A8A833 #C9C94F

Accessibility & contrast

On white

4.59
#797925 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#797925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797925
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797925#FFFFFF#000000##FFFFFF
##7979251.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837419
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#827168
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797925;
/* rgb */ color: rgb(121, 121, 37);
/* oklch */ color: oklch(55.9% 0.105 109.4);
Tailwind
colors: {
  custom: {
    50: '#a29f65',
    500: '#797925',
    950: '#000000',
  },
}
SCSS
$custom: #797925;
$custom-light: #a29f65;
$custom-dark: #000000;
JSON
{
  "hex": "#797925",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55948,
    "c": 0.10457,
    "h": 109.4
  },
  "luminance": 0.17873
}

Semantic roles & 50–950 ramp

primary
#797925
secondary
#4E4EAB
accent
#4BDD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #797925

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

Preview Lab → · Contrast checker → · Palette generator →

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