#796925#796925

#796925 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.2% C 0.089 H 95.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#796925
RGBrgb(121, 105, 37)
HSLhsl(49, 53%, 31%)
HSVhsv(49, 69%, 47%)
CMYKcmyk(0%, 13.2%, 69.4%, 52.5%)
CIE-LABlab(44.66, -2.08, 39.17)
CIE-LCHlch(44.66, 39.22, 93.05°)
OKLaboklab(52.23% -0.0091 0.0885)
OKLCHoklch(52.23% 0.089 95.8)
XYZxyz(13.2713, 14.3023, 3.8115)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796925 #253579
analogous
#793F25 #796925 #5F7925
triadic
#796925 #257969 #692579
tetradic
#796925 #25793F #253579 #79255F
square
#796925 #25793F #253579 #79255F
split-complementary
#796925 #255F79 #3F2579
monochromatic
#1B1808 #4A4017 #796925 #A89233 #C9B24F

Accessibility & contrast

On white

5.44
#796925 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#796925 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796925
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796925#FFFFFF#000000##FFFFFF
##7969251.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671C
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#83615B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796925;
/* rgb */ color: rgb(121, 105, 37);
/* oklch */ color: oklch(52.2% 0.089 95.8);
Tailwind
colors: {
  custom: {
    50: '#a29363',
    500: '#796925',
    950: '#000000',
  },
}
SCSS
$custom: #796925;
$custom-light: #a29363;
$custom-dark: #000000;
JSON
{
  "hex": "#796925",
  "rgb": {
    "r": 121,
    "g": 105,
    "b": 37
  },
  "hsl": {
    "h": 48.571,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52228,
    "c": 0.08893,
    "h": 95.8
  },
  "luminance": 0.14302
}

Semantic roles & 50–950 ramp

primary
#796925
secondary
#4E60AB
accent
#67DD4B
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D05
muted
#7F7E7A

Preview Lab

Preview with #796925

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

Preview Lab → · Contrast checker → · Palette generator →

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