#7A6922#7A6922

#7A6922 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.3% C 0.091 H 95.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7A6922
RGBrgb(122, 105, 34)
HSLhsl(48, 56%, 31%)
HSVhsv(48, 72%, 48%)
CMYKcmyk(0%, 13.9%, 72.1%, 52.2%)
CIE-LABlab(44.74, -1.80, 40.65)
CIE-LCHlch(44.74, 40.69, 92.53°)
OKLaboklab(52.31% -0.0087 0.091)
OKLCHoklch(52.31% 0.091 95.4)
XYZxyz(13.3670, 14.3569, 3.5802)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6922 #22337A
analogous
#7A3D22 #7A6922 #5F7A22
triadic
#7A6922 #227A69 #69227A
tetradic
#7A6922 #227A3D #22337A #7A225F
square
#7A6922 #227A3D #22337A #7A225F
split-complementary
#7A6922 #225F7A #3D227A
monochromatic
#1A1707 #4A4015 #7A6922 #AA922F #CDB34A

Accessibility & contrast

On white

5.42
#7A6922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7A6922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6922
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6922#FFFFFF#000000##FFFFFF
##7A69221.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746718
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#84615B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a6922;
/* rgb */ color: rgb(122, 105, 34);
/* oklch */ color: oklch(52.3% 0.091 95.4);
Tailwind
colors: {
  custom: {
    50: '#a39362',
    500: '#7a6922',
    950: '#000000',
  },
}
SCSS
$custom: #7a6922;
$custom-light: #a39362;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6922",
  "rgb": {
    "r": 122,
    "g": 105,
    "b": 34
  },
  "hsl": {
    "h": 48.409,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.09143,
    "h": 95.4
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

primary
#7A6922
secondary
#4B5EAD
accent
#65E048
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A6922

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

Preview Lab → · Contrast checker → · Palette generator →

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