#7A661F#7A661F

#7A661F is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.6% C 0.091 H 92.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7A661F
RGBrgb(122, 102, 31)
HSLhsl(47, 59%, 30%)
HSVhsv(47, 75%, 48%)
CMYKcmyk(0%, 16.4%, 74.6%, 52.2%)
CIE-LABlab(43.86, -0.22, 41.09)
CIE-LCHlch(43.86, 41.09, 90.31°)
OKLaboklab(51.6% -0.0046 0.0914)
OKLCHoklch(51.6% 0.091 92.9)
XYZxyz(13.0254, 13.7400, 3.2621)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A661F #1F337A
analogous
#7A381F #7A661F #617A1F
triadic
#7A661F #1F7A66 #661F7A
tetradic
#7A661F #1F7A38 #1F337A #7A1F61
square
#7A661F #1F7A38 #1F337A #7A1F61
split-complementary
#7A661F #1F617A #381F7A
monochromatic
#181406 #493D13 #7A661F #AB8F2B #CFB144

Accessibility & contrast

On white

5.60
#7A661F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7A661F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A661F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A661F#FFFFFF#000000##FFFFFF
##7A661F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#845D58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a661f;
/* rgb */ color: rgb(122, 102, 31);
/* oklch */ color: oklch(51.6% 0.091 92.9);
Tailwind
colors: {
  custom: {
    50: '#a49160',
    500: '#7a661f',
    950: '#000000',
  },
}
SCSS
$custom: #7a661f;
$custom-light: #a49160;
$custom-dark: #000000;
JSON
{
  "hex": "#7a661f",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 46.813,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.516,
    "c": 0.09146,
    "h": 92.9
  },
  "luminance": 0.13739
}

Semantic roles & 50–950 ramp

primary
#7A661F
secondary
#475EAD
accent
#68E345
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7A661F

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

Preview Lab → · Contrast checker → · Palette generator →

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