#7B7124#7B7124

#7B7124 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.097 H 101.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7B7124
RGBrgb(123, 113, 36)
HSLhsl(53, 55%, 31%)
HSVhsv(53, 71%, 48%)
CMYKcmyk(0%, 8.1%, 70.7%, 51.8%)
CIE-LABlab(47.17, -5.78, 42.27)
CIE-LCHlch(47.17, 42.67, 97.78°)
OKLaboklab(54.26% -0.0198 0.0948)
OKLCHoklch(54.26% 0.097 101.8)
XYZxyz(14.3926, 16.1492, 4.0277)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7124 #242E7B
analogous
#7B4524 #7B7124 #597B24
triadic
#7B7124 #247B71 #71247B
tetradic
#7B7124 #247B45 #242E7B #7B2459
square
#7B7124 #247B45 #242E7B #7B2459
split-complementary
#7B7124 #24597B #45247B
monochromatic
#1C1A08 #4C4616 #7B7124 #AA9C32 #CBBD4E

Accessibility & contrast

On white

4.96
#7B7124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7B7124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7124
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7124#FFFFFF#000000##FFFFFF
##7B71241.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b7124;
/* rgb */ color: rgb(123, 113, 36);
/* oklch */ color: oklch(54.3% 0.097 101.8);
Tailwind
colors: {
  custom: {
    50: '#a49964',
    500: '#7b7124',
    950: '#000000',
  },
}
SCSS
$custom: #7b7124;
$custom-light: #a49964;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7124",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 53.103,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.09684,
    "h": 101.8
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

primary
#7B7124
secondary
#4D58AD
accent
#5BDE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7B7124

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

Preview Lab → · Contrast checker → · Palette generator →

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