#797D36#797D36

#797D36 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.094 H 112.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#797D36
RGBrgb(121, 125, 54)
HSLhsl(63, 40%, 35%)
HSVhsv(63, 57%, 49%)
CMYKcmyk(3.2%, 0%, 56.8%, 51%)
CIE-LABlab(50.69, -12.02, 37.54)
CIE-LCHlch(50.69, 39.42, 107.76°)
OKLaboklab(57.07% -0.0353 0.0875)
OKLCHoklch(57.07% 0.094 112)
XYZxyz(15.8850, 18.9988, 6.3197)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D36 #3A367D
analogous
#7D5D36 #797D36 #567D36
triadic
#797D36 #36797D #7D3679
tetradic
#797D36 #367D5D #3A367D #7D3656
square
#797D36 #367D5D #3A367D #7D3656
split-complementary
#797D36 #36567D #5D367D
monochromatic
#262811 #505224 #797D36 #A2A848 #BBC06D

Accessibility & contrast

On white

4.38
#797D36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#797D36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D36
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D36#FFFFFF#000000##000000
##797D361.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86782F
Deuteranopia (green-blind)
#867A3A
Tritanopia (blue-blind)
#81766D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797d36;
/* rgb */ color: rgb(121, 125, 54);
/* oklch */ color: oklch(57.1% 0.094 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a270',
    500: '#797d36',
    950: '#000000',
  },
}
SCSS
$custom: #797d36;
$custom-light: #a1a270;
$custom-dark: #000000;
JSON
{
  "hex": "#797d36",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 54
  },
  "hsl": {
    "h": 63.38,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57071,
    "c": 0.09434,
    "h": 112
  },
  "luminance": 0.18999
}

Semantic roles & 50–950 ramp

primary
#797D36
secondary
#6A66A9
accent
#58D05F
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #797D36

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

Preview Lab → · Contrast checker → · Palette generator →

#797D36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva