#7A7727#7A7727

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

Color values

HEX#7A7727
RGBrgb(122, 119, 39)
HSLhsl(58, 52%, 32%)
HSVhsv(58, 68%, 48%)
CMYKcmyk(0%, 2.5%, 68%, 52.2%)
CIE-LABlab(48.86, -9.42, 42.66)
CIE-LCHlch(48.86, 43.69, 102.45°)
OKLaboklab(55.59% -0.0297 0.0962)
OKLCHoklch(55.59% 0.101 107.2)
XYZxyz(14.9896, 17.4782, 4.5031)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7727 #272A7A
analogous
#7A4E27 #7A7727 #547A27
triadic
#7A7727 #277A77 #77277A
tetradic
#7A7727 #277A4E #272A7A #7A2754
square
#7A7727 #277A4E #272A7A #7A2754
split-complementary
#7A7727 #27547A #4E277A
monochromatic
#1D1D09 #4C4A18 #7A7727 #A8A436 #C8C453

Accessibility & contrast

On white

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

On black

4.50
#7A7727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A7727#FFFFFF#000000##FFFFFF
##7A77271.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721C
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#836F67
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a7727;
/* rgb */ color: rgb(122, 119, 39);
/* oklch */ color: oklch(55.6% 0.101 107.2);
Tailwind
colors: {
  custom: {
    50: '#a39e66',
    500: '#7a7727',
    950: '#000000',
  },
}
SCSS
$custom: #7a7727;
$custom-light: #a39e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7727",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 57.831,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.10065,
    "h": 107.2
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#7A7727
secondary
#5154AC
accent
#52DB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A7727

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

Preview Lab → · Contrast checker → · Palette generator →

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