#796E25#796E25

#796E25 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.4% C 0.093 H 100.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#796E25
RGBrgb(121, 110, 37)
HSLhsl(52, 53%, 31%)
HSVhsv(52, 69%, 47%)
CMYKcmyk(0%, 9.1%, 69.4%, 52.5%)
CIE-LABlab(46.11, -4.95, 40.68)
CIE-LCHlch(46.11, 40.98, 96.94°)
OKLaboklab(53.37% -0.0173 0.0917)
OKLCHoklch(53.37% 0.093 100.7)
XYZxyz(13.7956, 15.3510, 3.9863)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E25 #253079
analogous
#794425 #796E25 #5A7925
triadic
#796E25 #25796E #6E2579
tetradic
#796E25 #257944 #253079 #79255A
square
#796E25 #257944 #253079 #79255A
split-complementary
#796E25 #255A79 #442579
monochromatic
#1B1908 #4A4317 #796E25 #A89933 #C9B94F

Accessibility & contrast

On white

5.16
#796E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#796E25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E25
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E25#FFFFFF#000000##FFFFFF
##796E251.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B1B
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#82665F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796e25;
/* rgb */ color: rgb(121, 110, 37);
/* oklch */ color: oklch(53.4% 0.093 100.7);
Tailwind
colors: {
  custom: {
    50: '#a29764',
    500: '#796e25',
    950: '#000000',
  },
}
SCSS
$custom: #796e25;
$custom-light: #a29764;
$custom-dark: #000000;
JSON
{
  "hex": "#796e25",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 37
  },
  "hsl": {
    "h": 52.143,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53375,
    "c": 0.09328,
    "h": 100.7
  },
  "luminance": 0.1535
}

Semantic roles & 50–950 ramp

primary
#796E25
secondary
#4E5BAB
accent
#5EDD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #796E25

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

Preview Lab → · Contrast checker → · Palette generator →

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