#7C7124#7C7124

#7C7124 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.4% C 0.097 H 101.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7C7124
RGBrgb(124, 113, 36)
HSLhsl(53, 55%, 31%)
HSVhsv(53, 71%, 49%)
CMYKcmyk(0%, 8.9%, 71%, 51.4%)
CIE-LABlab(47.27, -5.31, 42.40)
CIE-LCHlch(47.27, 42.73, 97.14°)
OKLaboklab(54.36% -0.0186 0.095)
OKLCHoklch(54.36% 0.097 101.1)
XYZxyz(14.5364, 16.2234, 4.0345)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7124 #242F7C
analogous
#7C4524 #7C7124 #5B7C24
triadic
#7C7124 #247C71 #71247C
tetradic
#7C7124 #247C45 #242F7C #7C245B
square
#7C7124 #247C45 #242F7C #7C245B
split-complementary
#7C7124 #245B7C #45247C
monochromatic
#1D1B08 #4D4616 #7C7124 #AB9C32 #CCBC4F

Accessibility & contrast

On white

4.95
#7C7124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7C7124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7124
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7124#FFFFFF#000000##FFFFFF
##7C71241.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E19
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#866961
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c7124;
/* rgb */ color: rgb(124, 113, 36);
/* oklch */ color: oklch(54.4% 0.097 101.1);
Tailwind
colors: {
  custom: {
    50: '#a59964',
    500: '#7c7124',
    950: '#000000',
  },
}
SCSS
$custom: #7c7124;
$custom-light: #a59964;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7124",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 52.5,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.09683,
    "h": 101.1
  },
  "luminance": 0.16223
}

Semantic roles & 50–950 ramp

primary
#7C7124
secondary
#4D5AAE
accent
#5CDE49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7C7124

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

Preview Lab → · Contrast checker → · Palette generator →

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