#7C7129#7C7129

#7C7129 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.093 H 100.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7C7129
RGBrgb(124, 113, 41)
HSLhsl(52, 50%, 32%)
HSVhsv(52, 67%, 49%)
CMYKcmyk(0%, 8.9%, 66.9%, 51.4%)
CIE-LABlab(47.31, -4.99, 40.18)
CIE-LCHlch(47.31, 40.49, 97.08°)
OKLaboklab(54.41% -0.0171 0.0912)
OKLCHoklch(54.41% 0.093 100.6)
XYZxyz(14.6181, 16.2561, 4.4651)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7129 #29347C
analogous
#7C4729 #7C7129 #5E7C29
triadic
#7C7129 #297C71 #71297C
tetradic
#7C7129 #297C47 #29347C #7C295E
square
#7C7129 #297C47 #29347C #7C295E
split-complementary
#7C7129 #295E7C #47297C
monochromatic
#201D0B #4E471A #7C7129 #AA9B38 #C8B958

Accessibility & contrast

On white

4.94
#7C7129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7C7129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7129
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7129#FFFFFF#000000##FFFFFF
##7C71291.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E20
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#856962
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c7129;
/* rgb */ color: rgb(124, 113, 41);
/* oklch */ color: oklch(54.4% 0.093 100.6);
Tailwind
colors: {
  custom: {
    50: '#a49966',
    500: '#7c7129',
    950: '#000000',
  },
}
SCSS
$custom: #7c7129;
$custom-light: #a49966;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7129",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 41
  },
  "hsl": {
    "h": 52.048,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54406,
    "c": 0.09279,
    "h": 100.6
  },
  "luminance": 0.16255
}

Semantic roles & 50–950 ramp

primary
#7C7129
secondary
#5460AD
accent
#61DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7C7129

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

Preview Lab → · Contrast checker → · Palette generator →

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