#7A671A#7A671A

#7A671A is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.8% C 0.096 H 94.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7A671A
RGBrgb(122, 103, 26)
HSLhsl(48, 65%, 29%)
HSVhsv(48, 79%, 48%)
CMYKcmyk(0%, 15.6%, 78.7%, 52.2%)
CIE-LABlab(44.11, -1.05, 43.40)
CIE-LCHlch(44.11, 43.41, 91.39°)
OKLaboklab(51.79% -0.0075 0.0952)
OKLCHoklch(51.79% 0.096 94.5)
XYZxyz(13.0634, 13.9134, 2.9746)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A671A #1A2D7A
analogous
#7A371A #7A671A #5D7A1A
triadic
#7A671A #1A7A67 #671A7A
tetradic
#7A671A #1A7A37 #1A2D7A #7A1A5D
square
#7A671A #1A7A37 #1A2D7A #7A1A5D
split-complementary
#7A671A #1A5D7A #371A7A
monochromatic
#191505 #483C0F #7A671A #AC9225 #D5B639

Accessibility & contrast

On white

5.55
#7A671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7A671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A671A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A671A#FFFFFF#000000##FFFFFF
##7A671A1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650C
Deuteranopia (green-blind)
#776B1F
Tritanopia (blue-blind)
#845E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a671a;
/* rgb */ color: rgb(122, 103, 26);
/* oklch */ color: oklch(51.8% 0.096 94.5);
Tailwind
colors: {
  custom: {
    50: '#a4925d',
    500: '#7a671a',
    950: '#000000',
  },
}
SCSS
$custom: #7a671a;
$custom-light: #a4925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a671a",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 48.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.09551,
    "h": 94.5
  },
  "luminance": 0.13913
}

Semantic roles & 50–950 ramp

primary
#7A671A
secondary
#4157AE
accent
#61E840
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A671A

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

Preview Lab → · Contrast checker → · Palette generator →

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