#7A7E4E#7A7E4E

#7A7E4E is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.068 H 112.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7A7E4E
RGBrgb(122, 126, 78)
HSLhsl(65, 24%, 40%)
HSVhsv(65, 38%, 49%)
CMYKcmyk(3.2%, 0%, 38.1%, 50.6%)
CIE-LABlab(51.39, -9.54, 25.65)
CIE-LCHlch(51.39, 27.37, 110.40°)
OKLaboklab(57.76% -0.026 0.063)
OKLCHoklch(57.76% 0.068 112.4)
XYZxyz(16.8622, 19.6096, 10.1030)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E4E #524E7E
analogous
#7E6A4E #7A7E4E #627E4E
triadic
#7A7E4E #4E7A7E #7E4E7A
tetradic
#7A7E4E #4E7E6A #524E7E #7E4E62
square
#7A7E4E #4E7E6A #524E7E #7E4E62
split-complementary
#7A7E4E #4E627E #6A4E7E
monochromatic
#31321F #555837 #7A7E4E #9DA168 #B5B98E

Accessibility & contrast

On white

4.27
#7A7E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7A7E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7E4E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7E4E#FFFFFF#000000##000000
##7A7E4E1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A4A
Deuteranopia (green-blind)
#857B50
Tritanopia (blue-blind)
#807972
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a7e4e;
/* rgb */ color: rgb(122, 126, 78);
/* oklch */ color: oklch(57.8% 0.068 112.4);
Tailwind
colors: {
  custom: {
    50: '#a1a380',
    500: '#7a7e4e',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e4e;
$custom-light: #a1a380;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e4e",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 65,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.57762,
    "c": 0.06812,
    "h": 112.4
  },
  "luminance": 0.19609
}

Semantic roles & 50–950 ramp

primary
#7A7E4E
secondary
#8582A6
accent
#68C06F
background
#FAFAF7
surface
#F3F3EE
border
#CDCDC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7A7E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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