#7A7E2E#7A7E2E

#7A7E2E is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.103 H 111.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7A7E2E
RGBrgb(122, 126, 46)
HSLhsl(63, 47%, 34%)
HSVhsv(63, 63%, 49%)
CMYKcmyk(3.2%, 0%, 63.5%, 50.6%)
CIE-LABlab(50.99, -12.77, 41.74)
CIE-LCHlch(50.99, 43.65, 107.01°)
OKLaboklab(57.31% -0.0384 0.0954)
OKLCHoklch(57.31% 0.103 111.9)
XYZxyz(15.9805, 19.2569, 5.4594)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E2E #322E7E
analogous
#7E5A2E #7A7E2E #527E2E
triadic
#7A7E2E #2E7A7E #7E2E7A
tetradic
#7A7E2E #2E7E5A #322E7E #7E2E52
square
#7A7E2E #2E7E5A #322E7E #7E2E52
split-complementary
#7A7E2E #2E527E #5A2E7E
monochromatic
#23240D #4F511E #7A7E2E #A5AB3E #C0C561

Accessibility & contrast

On white

4.33
#7A7E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7A7E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7E2E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7E2E#FFFFFF#000000##000000
##7A7E2E1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#887A33
Tritanopia (blue-blind)
#82776D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a7e2e;
/* rgb */ color: rgb(122, 126, 46);
/* oklch */ color: oklch(57.3% 0.103 111.9);
Tailwind
colors: {
  custom: {
    50: '#a3a36b',
    500: '#7a7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e2e;
$custom-light: #a3a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e2e",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 63,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.10278,
    "h": 111.9
  },
  "luminance": 0.19257
}

Semantic roles & 50–950 ramp

primary
#7A7E2E
secondary
#605CAC
accent
#52D658
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7A7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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