#797339#797339

#797339 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.079 H 103.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#797339
RGBrgb(121, 115, 57)
HSLhsl(54, 36%, 35%)
HSVhsv(54, 53%, 47%)
CMYKcmyk(0%, 5%, 52.9%, 52.5%)
CIE-LABlab(47.78, -6.20, 32.61)
CIE-LCHlch(47.78, 33.19, 100.76°)
OKLaboklab(54.77% -0.0183 0.0771)
OKLCHoklch(54.77% 0.079 103.4)
XYZxyz(14.7548, 16.6223, 6.3013)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797339 #393F79
analogous
#795339 #797339 #5F7939
triadic
#797339 #397973 #733979
tetradic
#797339 #397953 #393F79 #79395F
square
#797339 #397953 #393F79 #79395F
split-complementary
#797339 #395F79 #533979
monochromatic
#262412 #4F4B25 #797339 #A39B4D #BCB571

Accessibility & contrast

On white

4.86
#797339 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#797339 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797339
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797339#FFFFFF#000000##FFFFFF
##7973391.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7034
Deuteranopia (green-blind)
#7E733C
Tritanopia (blue-blind)
#816C66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #797339;
/* rgb */ color: rgb(121, 115, 57);
/* oklch */ color: oklch(54.8% 0.079 103.4);
Tailwind
colors: {
  custom: {
    50: '#a19b71',
    500: '#797339',
    950: '#000000',
  },
}
SCSS
$custom: #797339;
$custom-light: #a19b71;
$custom-dark: #000000;
JSON
{
  "hex": "#797339",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 57
  },
  "hsl": {
    "h": 54.375,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.07927,
    "h": 103.4
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

primary
#797339
secondary
#696EA5
accent
#66CC5C
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #797339

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

Preview Lab → · Contrast checker → · Palette generator →

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