#7F7628#7F7628

#7F7628 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.098 H 102.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7F7628
RGBrgb(127, 118, 40)
HSLhsl(54, 52%, 33%)
HSVhsv(54, 69%, 50%)
CMYKcmyk(0%, 7.1%, 68.5%, 50.2%)
CIE-LABlab(49.04, -6.48, 42.54)
CIE-LCHlch(49.04, 43.03, 98.66°)
OKLaboklab(55.84% -0.0216 0.0959)
OKLCHoklch(55.84% 0.098 102.7)
XYZxyz(15.6145, 17.6227, 4.5861)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7628 #28317F
analogous
#7F4A28 #7F7628 #5C7F28
triadic
#7F7628 #287F76 #76287F
tetradic
#7F7628 #287F4A #28317F #7F285C
square
#7F7628 #287F4A #28317F #7F285C
split-complementary
#7F7628 #285C7F #4A287F
monochromatic
#22200B #504B19 #7F7628 #AEA137 #CABE57

Accessibility & contrast

On white

4.64
#7F7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7F7628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7628
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7628#FFFFFF#000000##FFFFFF
##7F76281.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721E
Deuteranopia (green-blind)
#84762D
Tritanopia (blue-blind)
#896E66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f7628;
/* rgb */ color: rgb(127, 118, 40);
/* oklch */ color: oklch(55.8% 0.098 102.7);
Tailwind
colors: {
  custom: {
    50: '#a79d66',
    500: '#7f7628',
    950: '#000000',
  },
}
SCSS
$custom: #7f7628;
$custom-light: #a79d66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7628",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 53.793,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55843,
    "c": 0.09835,
    "h": 102.7
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#7F7628
secondary
#545DAF
accent
#5BDC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F7628

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

Preview Lab → · Contrast checker → · Palette generator →

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