#796F25#796F25

#796F25 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.6% C 0.094 H 101.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#796F25
RGBrgb(121, 111, 37)
HSLhsl(53, 53%, 31%)
HSVhsv(53, 69%, 47%)
CMYKcmyk(0%, 8.3%, 69.4%, 52.5%)
CIE-LABlab(46.40, -5.52, 40.98)
CIE-LCHlch(46.40, 41.35, 97.67°)
OKLaboklab(53.61% -0.0189 0.0923)
OKLCHoklch(53.61% 0.094 101.6)
XYZxyz(13.9041, 15.5680, 4.0224)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F25 #252F79
analogous
#794525 #796F25 #597925
triadic
#796F25 #25796F #6F2579
tetradic
#796F25 #257945 #252F79 #792559
square
#796F25 #257945 #252F79 #792559
split-complementary
#796F25 #255979 #452579
monochromatic
#1B1908 #4A4417 #796F25 #A89A33 #C9BB4F

Accessibility & contrast

On white

5.11
#796F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#796F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F25
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F25#FFFFFF#000000##FFFFFF
##796F251.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C1B
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#826760
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #796f25;
/* rgb */ color: rgb(121, 111, 37);
/* oklch */ color: oklch(53.6% 0.094 101.6);
Tailwind
colors: {
  custom: {
    50: '#a29864',
    500: '#796f25',
    950: '#000000',
  },
}
SCSS
$custom: #796f25;
$custom-light: #a29864;
$custom-dark: #000000;
JSON
{
  "hex": "#796f25",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 37
  },
  "hsl": {
    "h": 52.857,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53607,
    "c": 0.09421,
    "h": 101.6
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#796F25
secondary
#4E59AB
accent
#5DDD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796F25

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

Preview Lab → · Contrast checker → · Palette generator →

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