#7B7929#7B7929

#7B7929 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.2% C 0.101 H 107.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7B7929
RGBrgb(123, 121, 41)
HSLhsl(59, 50%, 32%)
HSVhsv(59, 67%, 48%)
CMYKcmyk(0%, 1.6%, 66.7%, 51.8%)
CIE-LABlab(49.55, -9.93, 42.52)
CIE-LCHlch(49.55, 43.67, 103.15°)
OKLaboklab(56.17% -0.031 0.0962)
OKLCHoklch(56.17% 0.101 107.9)
XYZxyz(15.4065, 18.0463, 4.7691)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7929 #292B7B
analogous
#7B5029 #7B7929 #547B29
triadic
#7B7929 #297B79 #79297B
tetradic
#7B7929 #297B50 #292B7B #7B2954
square
#7B7929 #297B50 #292B7B #7B2954
split-complementary
#7B7929 #29547B #50297B
monochromatic
#1F1F0A #4D4C1A #7B7929 #A9A638 #C7C457

Accessibility & contrast

On white

4.56
#7B7929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7B7929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7929
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7929#FFFFFF#000000##000000
##7B79291.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b7929;
/* rgb */ color: rgb(123, 121, 41);
/* oklch */ color: oklch(56.2% 0.101 107.9);
Tailwind
colors: {
  custom: {
    50: '#a49f67',
    500: '#7b7929',
    950: '#000000',
  },
}
SCSS
$custom: #7b7929;
$custom-light: #a49f67;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7929",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 58.537,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.10106,
    "h": 107.9
  },
  "luminance": 0.18046
}

Semantic roles & 50–950 ramp

primary
#7B7929
secondary
#5356AC
accent
#52DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B7929

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

Preview Lab → · Contrast checker → · Palette generator →

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