#796C25#796C25

#796C25 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.9% C 0.091 H 98.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#796C25
RGBrgb(121, 108, 37)
HSLhsl(51, 53%, 31%)
HSVhsv(51, 69%, 47%)
CMYKcmyk(0%, 10.7%, 69.4%, 52.5%)
CIE-LABlab(45.53, -3.81, 40.07)
CIE-LCHlch(45.53, 40.25, 95.43°)
OKLaboklab(52.92% -0.014 0.0904)
OKLCHoklch(52.92% 0.091 98.8)
XYZxyz(13.5823, 14.9243, 3.9152)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796C25 #253279
analogous
#794225 #796C25 #5C7925
triadic
#796C25 #25796C #6C2579
tetradic
#796C25 #257942 #253279 #79255C
square
#796C25 #257942 #253279 #79255C
split-complementary
#796C25 #255C79 #422579
monochromatic
#1B1808 #4A4217 #796C25 #A89633 #C9B64F

Accessibility & contrast

On white

5.27
#796C25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#796C25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796C25
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796C25#FFFFFF#000000##FFFFFF
##796C251.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#83645D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #796c25;
/* rgb */ color: rgb(121, 108, 37);
/* oklch */ color: oklch(52.9% 0.091 98.8);
Tailwind
colors: {
  custom: {
    50: '#a29564',
    500: '#796c25',
    950: '#000000',
  },
}
SCSS
$custom: #796c25;
$custom-light: #a29564;
$custom-dark: #000000;
JSON
{
  "hex": "#796c25",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 37
  },
  "hsl": {
    "h": 50.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52915,
    "c": 0.09147,
    "h": 98.8
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#796C25
secondary
#4E5DAB
accent
#62DD4B
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D05
muted
#7F7E7A

Preview Lab

Preview with #796C25

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

Preview Lab → · Contrast checker → · Palette generator →

#796C25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva