#7A7939#7A7939

#7A7939 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.086 H 108.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7A7939
RGBrgb(122, 121, 57)
HSLhsl(59, 36%, 35%)
HSVhsv(59, 53%, 48%)
CMYKcmyk(0%, 0.8%, 53.3%, 52.2%)
CIE-LABlab(49.63, -9.10, 34.81)
CIE-LCHlch(49.63, 35.98, 104.66°)
OKLaboklab(56.26% -0.0267 0.0819)
OKLCHoklch(56.26% 0.086 108.1)
XYZxyz(15.6023, 18.1081, 6.5434)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7939 #393A7A
analogous
#7A5839 #7A7939 #5A7A39
triadic
#7A7939 #397A79 #79397A
tetradic
#7A7939 #397A58 #393A7A #7A395A
square
#7A7939 #397A58 #393A7A #7A395A
split-complementary
#7A7939 #395A7A #58397A
monochromatic
#272612 #505026 #7A7939 #A4A24C #BDBB71

Accessibility & contrast

On white

4.54
#7A7939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7A7939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7939
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7939#FFFFFF#000000##000000
##7A79391.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#827533
Deuteranopia (green-blind)
#83773C
Tritanopia (blue-blind)
#82726A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a7939;
/* rgb */ color: rgb(122, 121, 57);
/* oklch */ color: oklch(56.3% 0.086 108.1);
Tailwind
colors: {
  custom: {
    50: '#a29f71',
    500: '#7a7939',
    950: '#000000',
  },
}
SCSS
$custom: #7a7939;
$custom-light: #a29f71;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7939",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 59.077,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56259,
    "c": 0.08616,
    "h": 108.1
  },
  "luminance": 0.18108
}

Semantic roles & 50–950 ramp

primary
#7A7939
secondary
#696AA6
accent
#5DCC5B
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7A7939

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

Preview Lab → · Contrast checker → · Palette generator →

#7A7939 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva