#7A6E27#7A6E27

#7A6E27 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.092 H 99.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7A6E27
RGBrgb(122, 110, 39)
HSLhsl(51, 52%, 32%)
HSVhsv(51, 68%, 48%)
CMYKcmyk(0%, 9.8%, 68%, 52.2%)
CIE-LABlab(46.23, -4.36, 39.91)
CIE-LCHlch(46.23, 40.15, 96.23°)
OKLaboklab(53.5% -0.0154 0.0904)
OKLCHoklch(53.5% 0.092 99.6)
XYZxyz(13.9688, 15.4365, 4.1628)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6E27 #27337A
analogous
#7A4527 #7A6E27 #5D7A27
triadic
#7A6E27 #277A6E #6E277A
tetradic
#7A6E27 #277A45 #27337A #7A275D
square
#7A6E27 #277A45 #27337A #7A275D
split-complementary
#7A6E27 #275D7A #45277A
monochromatic
#1D1A09 #4C4418 #7A6E27 #A89836 #C8B753

Accessibility & contrast

On white

5.14
#7A6E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7A6E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6E27
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6E27#FFFFFF#000000##FFFFFF
##7A6E271.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1E
Deuteranopia (green-blind)
#7C6F2B
Tritanopia (blue-blind)
#83665F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a6e27;
/* rgb */ color: rgb(122, 110, 39);
/* oklch */ color: oklch(53.5% 0.092 99.6);
Tailwind
colors: {
  custom: {
    50: '#a39765',
    500: '#7a6e27',
    950: '#000000',
  },
}
SCSS
$custom: #7a6e27;
$custom-light: #a39765;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6e27",
  "rgb": {
    "r": 122,
    "g": 110,
    "b": 39
  },
  "hsl": {
    "h": 51.325,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.09166,
    "h": 99.6
  },
  "luminance": 0.15436
}

Semantic roles & 50–950 ramp

primary
#7A6E27
secondary
#515EAC
accent
#61DB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7A6E27

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

Preview Lab → · Contrast checker → · Palette generator →

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