#7A7628#7A7628

#7A7628 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.099 H 106.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7A7628
RGBrgb(122, 118, 40)
HSLhsl(57, 51%, 32%)
HSVhsv(57, 67%, 48%)
CMYKcmyk(0%, 3.3%, 67.2%, 52.2%)
CIE-LABlab(48.57, -8.80, 41.92)
CIE-LCHlch(48.57, 42.83, 101.85°)
OKLaboklab(55.36% -0.0279 0.0948)
OKLCHoklch(55.36% 0.099 106.4)
XYZxyz(14.8880, 17.2481, 4.5521)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7628 #282C7A
analogous
#7A4D28 #7A7628 #557A28
triadic
#7A7628 #287A76 #76287A
tetradic
#7A7628 #287A4D #282C7A #7A2855
square
#7A7628 #287A4D #282C7A #7A2855
split-complementary
#7A7628 #28557A #4D287A
monochromatic
#1E1D0A #4C4919 #7A7628 #A8A337 #C7C255

Accessibility & contrast

On white

4.72
#7A7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7A7628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7628
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7628#FFFFFF#000000##FFFFFF
##7A76281.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#836E66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a7628;
/* rgb */ color: rgb(122, 118, 40);
/* oklch */ color: oklch(55.4% 0.099 106.4);
Tailwind
colors: {
  custom: {
    50: '#a39d66',
    500: '#7a7628',
    950: '#000000',
  },
}
SCSS
$custom: #7a7628;
$custom-light: #a39d66;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7628",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 57.073,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55362,
    "c": 0.09878,
    "h": 106.4
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#7A7628
secondary
#5256AC
accent
#55DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A7628

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

Preview Lab → · Contrast checker → · Palette generator →

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