#7C7328#7C7328

#7C7328 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.096 H 102.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7C7328
RGBrgb(124, 115, 40)
HSLhsl(54, 51%, 32%)
HSVhsv(54, 68%, 49%)
CMYKcmyk(0%, 7.3%, 67.7%, 51.4%)
CIE-LABlab(47.88, -6.19, 41.25)
CIE-LCHlch(47.88, 41.71, 98.53°)
OKLaboklab(54.86% -0.0206 0.0933)
OKLCHoklch(54.86% 0.096 102.4)
XYZxyz(14.8265, 16.7004, 4.4496)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7328 #28317C
analogous
#7C4928 #7C7328 #5B7C28
triadic
#7C7328 #287C73 #73287C
tetradic
#7C7328 #287C49 #28317C #7C285B
square
#7C7328 #287C49 #28317C #7C285B
split-complementary
#7C7328 #285B7C #49287C
monochromatic
#1F1D0A #4E4819 #7C7328 #AA9E37 #C8BC56

Accessibility & contrast

On white

4.84
#7C7328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7C7328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7328
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7328#FFFFFF#000000##FFFFFF
##7C73281.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1E
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#856B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c7328;
/* rgb */ color: rgb(124, 115, 40);
/* oklch */ color: oklch(54.9% 0.096 102.4);
Tailwind
colors: {
  custom: {
    50: '#a59b66',
    500: '#7c7328',
    950: '#000000',
  },
}
SCSS
$custom: #7c7328;
$custom-light: #a59b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7328",
  "rgb": {
    "r": 124,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 53.571,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54857,
    "c": 0.09554,
    "h": 102.4
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

primary
#7C7328
secondary
#525CAD
accent
#5CDB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7C7328

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

Preview Lab → · Contrast checker → · Palette generator →

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