#7D7929#7D7929

#7D7929 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.101 H 106.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D7929
RGBrgb(125, 121, 41)
HSLhsl(57, 51%, 33%)
HSVhsv(57, 67%, 49%)
CMYKcmyk(0%, 3.2%, 67.2%, 51%)
CIE-LABlab(49.73, -9.01, 42.76)
CIE-LCHlch(49.73, 43.70, 101.90°)
OKLaboklab(56.36% -0.0285 0.0966)
OKLCHoklch(56.36% 0.101 106.5)
XYZxyz(15.6956, 18.1953, 4.7827)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7929 #292D7D
analogous
#7D4F29 #7D7929 #577D29
triadic
#7D7929 #297D79 #79297D
tetradic
#7D7929 #297D4F #292D7D #7D2957
square
#7D7929 #297D4F #292D7D #7D2957
split-complementary
#7D7929 #29577D #4F297D
monochromatic
#21200B #4F4C1A #7D7929 #ABA638 #C8C358

Accessibility & contrast

On white

4.53
#7D7929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7D7929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7929
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7929#FFFFFF#000000##000000
##7D79291.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741E
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#867169
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d7929;
/* rgb */ color: rgb(125, 121, 41);
/* oklch */ color: oklch(56.4% 0.101 106.5);
Tailwind
colors: {
  custom: {
    50: '#a59f67',
    500: '#7d7929',
    950: '#000000',
  },
}
SCSS
$custom: #7d7929;
$custom-light: #a59f67;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7929",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 57.143,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.10077,
    "h": 106.5
  },
  "luminance": 0.18195
}

Semantic roles & 50–950 ramp

primary
#7D7929
secondary
#5458AE
accent
#54DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7929

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

Preview Lab → · Contrast checker → · Palette generator →

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