#7A7526#7A7526

#7A7526 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.099 H 105.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7A7526
RGBrgb(122, 117, 38)
HSLhsl(56, 53%, 31%)
HSVhsv(56, 69%, 48%)
CMYKcmyk(0%, 4.1%, 68.9%, 52.2%)
CIE-LABlab(48.26, -8.37, 42.48)
CIE-LCHlch(48.26, 43.30, 101.14°)
OKLaboklab(55.11% -0.0269 0.0956)
OKLCHoklch(55.11% 0.099 105.7)
XYZxyz(14.7377, 17.0006, 4.3385)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7526 #262B7A
analogous
#7A4B26 #7A7526 #557A26
triadic
#7A7526 #267A75 #75267A
tetradic
#7A7526 #267A4B #262B7A #7A2655
square
#7A7526 #267A4B #262B7A #7A2655
split-complementary
#7A7526 #26557A #4B267A
monochromatic
#1D1B09 #4B4817 #7A7526 #A9A235 #C9C251

Accessibility & contrast

On white

4.77
#7A7526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7A7526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7526
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7526#FFFFFF#000000##FFFFFF
##7A75261.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711B
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#836D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a7526;
/* rgb */ color: rgb(122, 117, 38);
/* oklch */ color: oklch(55.1% 0.099 105.7);
Tailwind
colors: {
  custom: {
    50: '#a39c65',
    500: '#7a7526',
    950: '#000000',
  },
}
SCSS
$custom: #7a7526;
$custom-light: #a39c65;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7526",
  "rgb": {
    "r": 122,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 56.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55109,
    "c": 0.09933,
    "h": 105.7
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#7A7526
secondary
#5055AC
accent
#54DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A7526

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

Preview Lab → · Contrast checker → · Palette generator →

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