#7C7045#7C7045

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

Color values

HEX#7C7045
RGBrgb(124, 112, 69)
HSLhsl(47, 28%, 38%)
HSVhsv(47, 44%, 49%)
CMYKcmyk(0%, 9.7%, 44.4%, 51.4%)
CIE-LABlab(47.37, -1.86, 25.57)
CIE-LCHlch(47.37, 25.64, 94.17°)
OKLaboklab(54.57% -0.0047 0.0623)
OKLCHoklch(54.57% 0.063 94.3)
XYZxyz(15.1809, 16.3036, 7.9763)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7045 #45517C
analogous
#7C5445 #7C7045 #6C7C45
triadic
#7C7045 #457C70 #70457C
tetradic
#7C7045 #457C54 #45517C #7C456C
square
#7C7045 #457C54 #45517C #7C456C
split-complementary
#7C7045 #456C7C #54457C
monochromatic
#2D2919 #554C2F #7C7045 #A3945B #B9AD82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7045#FFFFFF#000000##FFFFFF
##7C70451.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)
#786E42
Deuteranopia (green-blind)
#7C7247
Tritanopia (blue-blind)
#846A65
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c7045;
/* rgb */ color: rgb(124, 112, 69);
/* oklch */ color: oklch(54.6% 0.063 94.3);
Tailwind
colors: {
  custom: {
    50: '#a39879',
    500: '#7c7045',
    950: '#000000',
  },
}
SCSS
$custom: #7c7045;
$custom-light: #a39879;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7045",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 69
  },
  "hsl": {
    "h": 46.909,
    "s": 28.497,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54568,
    "c": 0.06251,
    "h": 94.3
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#7C7045
secondary
#7882A5
accent
#78C563
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0D09
muted
#7F7E7B

Preview Lab

Preview with #7C7045

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

Preview Lab → · Contrast checker → · Palette generator →

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