#7D7628#7D7628

#7D7628 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.098 H 104.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D7628
RGBrgb(125, 118, 40)
HSLhsl(55, 52%, 32%)
HSVhsv(55, 68%, 49%)
CMYKcmyk(0%, 5.6%, 68%, 51%)
CIE-LABlab(48.85, -7.41, 42.29)
CIE-LCHlch(48.85, 42.93, 99.94°)
OKLaboklab(55.65% -0.0241 0.0955)
OKLCHoklch(55.65% 0.098 104.2)
XYZxyz(15.3195, 17.4706, 4.5723)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7628 #282F7D
analogous
#7D4C28 #7D7628 #597D28
triadic
#7D7628 #287D76 #76287D
tetradic
#7D7628 #287D4C #282F7D #7D2859
square
#7D7628 #287D4C #282F7D #7D2859
split-complementary
#7D7628 #28597D #4C287D
monochromatic
#201E0A #4F4A19 #7D7628 #ABA237 #C9C056

Accessibility & contrast

On white

4.67
#7D7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7D7628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7628
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7628#FFFFFF#000000##FFFFFF
##7D76281.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721E
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#866E66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d7628;
/* rgb */ color: rgb(125, 118, 40);
/* oklch */ color: oklch(55.6% 0.098 104.2);
Tailwind
colors: {
  custom: {
    50: '#a59d66',
    500: '#7d7628',
    950: '#000000',
  },
}
SCSS
$custom: #7d7628;
$custom-light: #a59d66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7628",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 55.059,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55649,
    "c": 0.09846,
    "h": 104.2
  },
  "luminance": 0.1747
}

Semantic roles & 50–950 ramp

primary
#7D7628
secondary
#535AAE
accent
#59DB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7628

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

Preview Lab → · Contrast checker → · Palette generator →

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