#7A6727#7A6727

#7A6727 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.9% C 0.086 H 92.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7A6727
RGBrgb(122, 103, 39)
HSLhsl(46, 52%, 32%)
HSVhsv(46, 68%, 48%)
CMYKcmyk(0%, 15.6%, 68%, 52.2%)
CIE-LABlab(44.21, -0.32, 37.77)
CIE-LCHlch(44.21, 37.77, 90.49°)
OKLaboklab(51.9% -0.0038 0.0858)
OKLCHoklch(51.9% 0.086 92.5)
XYZxyz(13.2431, 13.9853, 3.9209)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6727 #273A7A
analogous
#7A3E27 #7A6727 #647A27
triadic
#7A6727 #277A67 #67277A
tetradic
#7A6727 #277A3E #273A7A #7A2764
square
#7A6727 #277A3E #273A7A #7A2764
split-complementary
#7A6727 #27647A #3E277A
monochromatic
#1D1909 #4C4018 #7A6727 #A88E36 #C8AD53

Accessibility & contrast

On white

5.53
#7A6727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7A6727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6727
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6727#FFFFFF#000000##FFFFFF
##7A67271.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651F
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#845F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a6727;
/* rgb */ color: rgb(122, 103, 39);
/* oklch */ color: oklch(51.9% 0.086 92.5);
Tailwind
colors: {
  custom: {
    50: '#a39264',
    500: '#7a6727',
    950: '#000000',
  },
}
SCSS
$custom: #7a6727;
$custom-light: #a39264;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6727",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 39
  },
  "hsl": {
    "h": 46.265,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51901,
    "c": 0.0859,
    "h": 92.5
  },
  "luminance": 0.13985
}

Semantic roles & 50–950 ramp

primary
#7A6727
secondary
#5166AC
accent
#6DDB4D
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C06
muted
#7F7D7A

Preview Lab

Preview with #7A6727

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

Preview Lab → · Contrast checker → · Palette generator →

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