#7F7728#7F7728

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

Color values

HEX#7F7728
RGBrgb(127, 119, 40)
HSLhsl(54, 52%, 33%)
HSVhsv(54, 69%, 50%)
CMYKcmyk(0%, 6.3%, 68.5%, 50.2%)
CIE-LABlab(49.33, -7.04, 42.84)
CIE-LCHlch(49.33, 43.42, 99.33°)
OKLaboklab(56.07% -0.0232 0.0966)
OKLCHoklch(56.07% 0.099 103.5)
XYZxyz(15.7328, 17.8595, 4.6256)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7728 #28307F
analogous
#7F4C28 #7F7728 #5B7F28
triadic
#7F7728 #287F77 #77287F
tetradic
#7F7728 #287F4C #28307F #7F285B
square
#7F7728 #287F4C #28307F #7F285B
split-complementary
#7F7728 #285B7F #4C287F
monochromatic
#22200B #504B19 #7F7728 #AEA337 #CAC057

Accessibility & contrast

On white

4.59
#7F7728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7F7728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7728
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7728#FFFFFF#000000##FFFFFF
##7F77281.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#896F67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f7728;
/* rgb */ color: rgb(127, 119, 40);
/* oklch */ color: oklch(56.1% 0.099 103.5);
Tailwind
colors: {
  custom: {
    50: '#a79e67',
    500: '#7f7728',
    950: '#000000',
  },
}
SCSS
$custom: #7f7728;
$custom-light: #a79e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7728",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 54.483,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56073,
    "c": 0.09932,
    "h": 103.5
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#7F7728
secondary
#545CAF
accent
#59DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F7728

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

Preview Lab → · Contrast checker → · Palette generator →

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