#7D7627#7D7627

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

Color values

HEX#7D7627
RGBrgb(125, 118, 39)
HSLhsl(55, 52%, 32%)
HSVhsv(55, 69%, 49%)
CMYKcmyk(0%, 5.6%, 68.8%, 51%)
CIE-LABlab(48.84, -7.47, 42.73)
CIE-LCHlch(48.84, 43.37, 99.92°)
OKLaboklab(55.64% -0.0244 0.0962)
OKLCHoklch(55.64% 0.099 104.2)
XYZxyz(15.3027, 17.4639, 4.4839)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7627 #272E7D
analogous
#7D4B27 #7D7627 #597D27
triadic
#7D7627 #277D76 #76277D
tetradic
#7D7627 #277D4B #272E7D #7D2759
square
#7D7627 #277D4B #272E7D #7D2759
split-complementary
#7D7627 #27597D #4B277D
monochromatic
#201E0A #4E4A18 #7D7627 #ACA236 #CAC055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7627#FFFFFF#000000##FFFFFF
##7D76271.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)
#81721C
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#866E66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d7627;
/* rgb */ color: rgb(125, 118, 39);
/* oklch */ color: oklch(55.6% 0.099 104.2);
Tailwind
colors: {
  custom: {
    50: '#a59d66',
    500: '#7d7627',
    950: '#000000',
  },
}
SCSS
$custom: #7d7627;
$custom-light: #a59d66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7627",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 55.116,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55639,
    "c": 0.09926,
    "h": 104.2
  },
  "luminance": 0.17463
}

Semantic roles & 50–950 ramp

primary
#7D7627
secondary
#5159AF
accent
#58DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7627

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

Preview Lab → · Contrast checker → · Palette generator →

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