#7D7828#7D7828

#7D7828 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.1% C 0.101 H 105.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D7828
RGBrgb(125, 120, 40)
HSLhsl(56, 52%, 32%)
HSVhsv(56, 68%, 49%)
CMYKcmyk(0%, 4%, 68%, 51%)
CIE-LABlab(49.43, -8.52, 42.90)
CIE-LCHlch(49.43, 43.74, 101.24°)
OKLaboklab(56.11% -0.0273 0.0968)
OKLCHoklch(56.11% 0.101 105.7)
XYZxyz(15.5575, 17.9467, 4.6516)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7828 #282D7D
analogous
#7D4E28 #7D7828 #577D28
triadic
#7D7828 #287D78 #78287D
tetradic
#7D7828 #287D4E #282D7D #7D2857
square
#7D7828 #287D4E #282D7D #7D2857
split-complementary
#7D7828 #28577D #4E287D
monochromatic
#201F0A #4F4B19 #7D7828 #ABA537 #C9C256

Accessibility & contrast

On white

4.58
#7D7828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7D7828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7828
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7828#FFFFFF#000000##000000
##7D78281.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82741D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#867068
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d7828;
/* rgb */ color: rgb(125, 120, 40);
/* oklch */ color: oklch(56.1% 0.101 105.7);
Tailwind
colors: {
  custom: {
    50: '#a59e67',
    500: '#7d7828',
    950: '#000000',
  },
}
SCSS
$custom: #7d7828;
$custom-light: #a59e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7828",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 56.471,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56113,
    "c": 0.10052,
    "h": 105.7
  },
  "luminance": 0.17946
}

Semantic roles & 50–950 ramp

primary
#7D7828
secondary
#5358AE
accent
#55DB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7828

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

Preview Lab → · Contrast checker → · Palette generator →

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