#7A6831#7A6831

#7A6831 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.2% C 0.077 H 91.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7A6831
RGBrgb(122, 104, 49)
HSLhsl(45, 43%, 34%)
HSVhsv(45, 60%, 48%)
CMYKcmyk(0%, 14.8%, 59.8%, 52.2%)
CIE-LABlab(44.60, -0.15, 33.13)
CIE-LCHlch(44.60, 33.13, 90.26°)
OKLaboklab(52.25% -0.0019 0.0774)
OKLCHoklch(52.25% 0.077 91.4)
XYZxyz(13.5313, 14.2606, 4.9450)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6831 #31437A
analogous
#7A4331 #7A6831 #677A31
triadic
#7A6831 #317A68 #68317A
tetradic
#7A6831 #317A43 #31437A #7A3167
square
#7A6831 #317A43 #31437A #7A3167
split-complementary
#7A6831 #31677A #43317A
monochromatic
#231E0E #4E431F #7A6831 #A68D43 #C1AA64

Accessibility & contrast

On white

5.45
#7A6831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7A6831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6831
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6831#FFFFFF#000000##FFFFFF
##7A68311.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662C
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#83605C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a6831;
/* rgb */ color: rgb(122, 104, 49);
/* oklch */ color: oklch(52.2% 0.077 91.4);
Tailwind
colors: {
  custom: {
    50: '#a3926b',
    500: '#7a6831',
    950: '#000000',
  },
}
SCSS
$custom: #7a6831;
$custom-light: #a3926b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6831",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 49
  },
  "hsl": {
    "h": 45.205,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52246,
    "c": 0.07739,
    "h": 91.4
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#7A6831
secondary
#5E71A8
accent
#74D255
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D07
muted
#7F7D7A

Preview Lab

Preview with #7A6831

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

Preview Lab → · Contrast checker → · Palette generator →

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