#7C7046#7C7046

#7C7046 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.6% C 0.061 H 94.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7C7046
RGBrgb(124, 112, 70)
HSLhsl(47, 28%, 38%)
HSVhsv(47, 44%, 49%)
CMYKcmyk(0%, 9.7%, 43.5%, 51.4%)
CIE-LABlab(47.39, -1.75, 25.03)
CIE-LCHlch(47.39, 25.09, 94.00°)
OKLaboklab(54.59% -0.0043 0.0612)
OKLCHoklch(54.59% 0.061 94)
XYZxyz(15.2122, 16.3162, 8.1412)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7046 #46527C
analogous
#7C5546 #7C7046 #6D7C46
triadic
#7C7046 #467C70 #70467C
tetradic
#7C7046 #467C55 #46527C #7C466D
square
#7C7046 #467C55 #46527C #7C466D
split-complementary
#7C7046 #466D7C #55467C
monochromatic
#2E291A #554D30 #7C7046 #A3935C #B9AD83

Accessibility & contrast

On white

4.93
#7C7046 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7C7046 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7046
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7046#FFFFFF#000000##FFFFFF
##7C70461.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E43
Deuteranopia (green-blind)
#7B7248
Tritanopia (blue-blind)
#846A66
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c7046;
/* rgb */ color: rgb(124, 112, 70);
/* oklch */ color: oklch(54.6% 0.061 94.0);
Tailwind
colors: {
  custom: {
    50: '#a3987a',
    500: '#7c7046',
    950: '#000000',
  },
}
SCSS
$custom: #7c7046;
$custom-light: #a3987a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7046",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 70
  },
  "hsl": {
    "h": 46.667,
    "s": 27.835,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54586,
    "c": 0.0613,
    "h": 94
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#7C7046
secondary
#7983A5
accent
#79C464
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0D09
muted
#7F7E7B

Preview Lab

Preview with #7C7046

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

Preview Lab → · Contrast checker → · Palette generator →

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