#7A7948#7A7948

#7A7948 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.069 H 107.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7A7948
RGBrgb(122, 121, 72)
HSLhsl(59, 26%, 38%)
HSVhsv(59, 41%, 48%)
CMYKcmyk(0%, 0.8%, 41%, 52.2%)
CIE-LABlab(49.83, -7.50, 26.99)
CIE-LCHlch(49.83, 28.02, 105.53°)
OKLaboklab(56.49% -0.0206 0.0658)
OKLCHoklch(56.49% 0.069 107.4)
XYZxyz(16.0333, 18.2805, 8.8135)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7948 #48497A
analogous
#7A6048 #7A7948 #627A48
triadic
#7A7948 #487A79 #79487A
tetradic
#7A7948 #487A60 #48497A #7A4862
square
#7A7948 #487A60 #48497A #7A4862
split-complementary
#7A7948 #48627A #60487A
monochromatic
#2D2D1B #545331 #7A7948 #A09F5F #B7B685

Accessibility & contrast

On white

4.51
#7A7948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7A7948 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7948
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7948#FFFFFF#000000##000000
##7A79481.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#807544
Deuteranopia (green-blind)
#81784A
Tritanopia (blue-blind)
#81736D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a7948;
/* rgb */ color: rgb(122, 121, 72);
/* oklch */ color: oklch(56.5% 0.069 107.4);
Tailwind
colors: {
  custom: {
    50: '#a19f7c',
    500: '#7a7948',
    950: '#000000',
  },
}
SCSS
$custom: #7a7948;
$custom-light: #a19f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7948",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 58.8,
    "s": 25.773,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.0689,
    "h": 107.4
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#7A7948
secondary
#7B7BA3
accent
#67C266
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7A7948

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

Preview Lab → · Contrast checker → · Palette generator →

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