#7C7948#7C7948

#7C7948 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.7% C 0.069 H 105.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7C7948
RGBrgb(124, 121, 72)
HSLhsl(57, 27%, 38%)
HSVhsv(57, 42%, 49%)
CMYKcmyk(0%, 2.4%, 41.9%, 51.4%)
CIE-LABlab(50.01, -6.63, 27.25)
CIE-LCHlch(50.01, 28.05, 103.67°)
OKLaboklab(56.68% -0.0182 0.0663)
OKLCHoklch(56.68% 0.069 105.3)
XYZxyz(16.3195, 18.4281, 8.8269)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7948 #484B7C
analogous
#7C5F48 #7C7948 #657C48
triadic
#7C7948 #487C79 #79487C
tetradic
#7C7948 #487C5F #484B7C #7C4865
square
#7C7948 #487C5F #484B7C #7C4865
split-complementary
#7C7948 #48657C #5F487C
monochromatic
#2F2D1B #555332 #7C7948 #A29E5F #B9B686

Accessibility & contrast

On white

4.48
#7C7948 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7C7948 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7948
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7948#FFFFFF#000000##000000
##7C79481.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#817644
Deuteranopia (green-blind)
#82784A
Tritanopia (blue-blind)
#83736D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c7948;
/* rgb */ color: rgb(124, 121, 72);
/* oklch */ color: oklch(56.7% 0.069 105.3);
Tailwind
colors: {
  custom: {
    50: '#a39f7c',
    500: '#7c7948',
    950: '#000000',
  },
}
SCSS
$custom: #7c7948;
$custom-light: #a39f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7948",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 56.538,
    "s": 26.531,
    "l": 38.431
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.06877,
    "h": 105.3
  },
  "luminance": 0.18428
}

Semantic roles & 50–950 ramp

primary
#7C7948
secondary
#7B7EA5
accent
#6AC365
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7C7948

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

Preview Lab → · Contrast checker → · Palette generator →

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