#7C7B47#7C7B47

#7C7B47 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.1% C 0.072 H 107.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7C7B47
RGBrgb(124, 123, 71)
HSLhsl(59, 27%, 38%)
HSVhsv(59, 43%, 49%)
CMYKcmyk(0%, 0.8%, 42.7%, 51.4%)
CIE-LABlab(50.58, -7.86, 28.52)
CIE-LCHlch(50.58, 29.58, 105.42°)
OKLaboklab(57.12% -0.0218 0.0691)
OKLCHoklch(57.12% 0.072 107.5)
XYZxyz(16.5327, 18.9063, 8.7384)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7B47 #47487C
analogous
#7C6047 #7C7B47 #627C47
triadic
#7C7B47 #477C7B #7B477C
tetradic
#7C7B47 #477C60 #47487C #7C4762
square
#7C7B47 #477C60 #47487C #7C4762
split-complementary
#7C7B47 #47627C #60477C
monochromatic
#2E2E1A #555431 #7C7B47 #A3A15E #B9B885

Accessibility & contrast

On white

4.39
#7C7B47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7C7B47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7B47
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7B47#FFFFFF#000000##000000
##7C7B471.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837743
Deuteranopia (green-blind)
#847949
Tritanopia (blue-blind)
#83756E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c7b47;
/* rgb */ color: rgb(124, 123, 71);
/* oklch */ color: oklch(57.1% 0.072 107.5);
Tailwind
colors: {
  custom: {
    50: '#a3a17b',
    500: '#7c7b47',
    950: '#000000',
  },
}
SCSS
$custom: #7c7b47;
$custom-light: #a3a17b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7b47",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 71
  },
  "hsl": {
    "h": 58.868,
    "s": 27.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57119,
    "c": 0.07249,
    "h": 107.5
  },
  "luminance": 0.18906
}

Semantic roles & 50–950 ramp

primary
#7C7B47
secondary
#7A7BA5
accent
#66C464
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7C7B47

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

Preview Lab → · Contrast checker → · Palette generator →

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