#7C7B29#7C7B29

#7C7B29 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.103 H 108.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7C7B29
RGBrgb(124, 123, 41)
HSLhsl(59, 50%, 32%)
HSVhsv(59, 67%, 49%)
CMYKcmyk(0%, 0.8%, 66.9%, 51.4%)
CIE-LABlab(50.23, -10.57, 43.26)
CIE-LCHlch(50.23, 44.53, 103.74°)
OKLaboklab(56.73% -0.0329 0.0977)
OKLCHoklch(56.73% 0.103 108.6)
XYZxyz(15.7959, 18.6116, 4.8577)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7B29 #292A7C
analogous
#7C5129 #7C7B29 #547C29
triadic
#7C7B29 #297C7B #7B297C
tetradic
#7C7B29 #297C51 #292A7C #7C2954
square
#7C7B29 #297C51 #292A7C #7C2954
split-complementary
#7C7B29 #29547C #51297C
monochromatic
#20200B #4E4D1A #7C7B29 #AAA938 #C8C658

Accessibility & contrast

On white

4.45
#7C7B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7C7B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7B29
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7B29#FFFFFF#000000##000000
##7C7B291.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761E
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#85736A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c7b29;
/* rgb */ color: rgb(124, 123, 41);
/* oklch */ color: oklch(56.7% 0.103 108.6);
Tailwind
colors: {
  custom: {
    50: '#a4a167',
    500: '#7c7b29',
    950: '#000000',
  },
}
SCSS
$custom: #7c7b29;
$custom-light: #a4a167;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7b29",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 59.277,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5673,
    "c": 0.10309,
    "h": 108.6
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#7C7B29
secondary
#5455AD
accent
#50DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7C7B29

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

Preview Lab → · Contrast checker → · Palette generator →

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