#7D6829#7D6829

#7D6829 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.5% C 0.086 H 90.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7D6829
RGBrgb(125, 104, 41)
HSLhsl(45, 51%, 33%)
HSVhsv(45, 67%, 49%)
CMYKcmyk(0%, 16.8%, 67.2%, 51%)
CIE-LABlab(44.83, 0.65, 37.55)
CIE-LCHlch(44.83, 37.56, 89.02°)
OKLaboklab(52.47% -0.0009 0.0856)
OKLCHoklch(52.47% 0.086 90.6)
XYZxyz(13.8087, 14.4215, 4.1537)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6829 #293E7D
analogous
#7D3E29 #7D6829 #687D29
triadic
#7D6829 #297D68 #68297D
tetradic
#7D6829 #297D3E #293E7D #7D2968
square
#7D6829 #297D3E #293E7D #7D2968
split-complementary
#7D6829 #29687D #3E297D
monochromatic
#211B0B #4F421A #7D6829 #AB8E38 #C8AC58

Accessibility & contrast

On white

5.41
#7D6829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7D6829 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6829
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6829#FFFFFF#000000##FFFFFF
##7D68291.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736722
Deuteranopia (green-blind)
#786D2C
Tritanopia (blue-blind)
#87605A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d6829;
/* rgb */ color: rgb(125, 104, 41);
/* oklch */ color: oklch(52.5% 0.086 90.6);
Tailwind
colors: {
  custom: {
    50: '#a59266',
    500: '#7d6829',
    950: '#000000',
  },
}
SCSS
$custom: #7d6829;
$custom-light: #a59266;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6829",
  "rgb": {
    "r": 125,
    "g": 104,
    "b": 41
  },
  "hsl": {
    "h": 45,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.08561,
    "h": 90.6
  },
  "luminance": 0.14421
}

Semantic roles & 50–950 ramp

primary
#7D6829
secondary
#546BAE
accent
#71DA4E
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#100D06
muted
#7F7D7A

Preview Lab

Preview with #7D6829

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

Preview Lab → · Contrast checker → · Palette generator →

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