#7A7626#7A7626

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

Color values

HEX#7A7626
RGBrgb(122, 118, 38)
HSLhsl(57, 53%, 31%)
HSVhsv(57, 69%, 48%)
CMYKcmyk(0%, 3.3%, 68.9%, 52.2%)
CIE-LABlab(48.55, -8.93, 42.79)
CIE-LCHlch(48.55, 43.71, 101.78°)
OKLaboklab(55.34% -0.0285 0.0963)
OKLCHoklch(55.34% 0.1 106.5)
XYZxyz(14.8549, 17.2349, 4.3775)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7626 #262A7A
analogous
#7A4C26 #7A7626 #547A26
triadic
#7A7626 #267A76 #76267A
tetradic
#7A7626 #267A4C #262A7A #7A2654
square
#7A7626 #267A4C #262A7A #7A2654
split-complementary
#7A7626 #26547A #4C267A
monochromatic
#1D1C09 #4B4917 #7A7626 #A9A335 #C9C351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7626#FFFFFF#000000##FFFFFF
##7A76261.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)
#80711B
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#836E66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a7626;
/* rgb */ color: rgb(122, 118, 38);
/* oklch */ color: oklch(55.3% 0.100 106.5);
Tailwind
colors: {
  custom: {
    50: '#a39d65',
    500: '#7a7626',
    950: '#000000',
  },
}
SCSS
$custom: #7a7626;
$custom-light: #a39d65;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7626",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 38
  },
  "hsl": {
    "h": 57.143,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.10038,
    "h": 106.5
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#7A7626
secondary
#5054AC
accent
#53DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A7626

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

Preview Lab → · Contrast checker → · Palette generator →

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