#7C7929#7C7929

#7C7929 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.101 H 107.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7C7929
RGBrgb(124, 121, 41)
HSLhsl(58, 50%, 32%)
HSVhsv(58, 67%, 49%)
CMYKcmyk(0%, 2.4%, 66.9%, 51.4%)
CIE-LABlab(49.64, -9.47, 42.64)
CIE-LCHlch(49.64, 43.68, 102.52°)
OKLaboklab(56.26% -0.0298 0.0964)
OKLCHoklch(56.26% 0.101 107.2)
XYZxyz(15.5503, 18.1204, 4.7759)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7929 #292C7C
analogous
#7C4F29 #7C7929 #567C29
triadic
#7C7929 #297C79 #79297C
tetradic
#7C7929 #297C4F #292C7C #7C2956
square
#7C7929 #297C4F #292C7C #7C2956
split-complementary
#7C7929 #29567C #4F297C
monochromatic
#201F0B #4E4C1A #7C7929 #AAA638 #C8C458

Accessibility & contrast

On white

4.54
#7C7929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7C7929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7929
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7929#FFFFFF#000000##000000
##7C79291.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741F
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#857169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c7929;
/* rgb */ color: rgb(124, 121, 41);
/* oklch */ color: oklch(56.3% 0.101 107.2);
Tailwind
colors: {
  custom: {
    50: '#a49f67',
    500: '#7c7929',
    950: '#000000',
  },
}
SCSS
$custom: #7c7929;
$custom-light: #a49f67;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7929",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 57.831,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56262,
    "c": 0.1009,
    "h": 107.2
  },
  "luminance": 0.1812
}

Semantic roles & 50–950 ramp

primary
#7C7929
secondary
#5457AD
accent
#53DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7C7929

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

Preview Lab → · Contrast checker → · Palette generator →

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