#7A671C#7A671C

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

Color values

HEX#7A671C
RGBrgb(122, 103, 28)
HSLhsl(48, 63%, 29%)
HSVhsv(48, 77%, 48%)
CMYKcmyk(0%, 15.6%, 77%, 52.2%)
CIE-LABlab(44.12, -0.96, 42.61)
CIE-LCHlch(44.12, 42.62, 91.29°)
OKLaboklab(51.8% -0.007 0.094)
OKLCHoklch(51.8% 0.094 94.3)
XYZxyz(13.0866, 13.9227, 3.0964)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A671C #1C2F7A
analogous
#7A381C #7A671C #5E7A1C
triadic
#7A671C #1C7A67 #671C7A
tetradic
#7A671C #1C7A38 #1C2F7A #7A1C5E
square
#7A671C #1C7A38 #1C2F7A #7A1C5E
split-complementary
#7A671C #1C5E7A #381C7A
monochromatic
#191506 #483D11 #7A671C #AC9127 #D3B53E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A671C#FFFFFF#000000##FFFFFF
##7A671C1.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)
#73650F
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#845E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a671c;
/* rgb */ color: rgb(122, 103, 28);
/* oklch */ color: oklch(51.8% 0.094 94.3);
Tailwind
colors: {
  custom: {
    50: '#a4925e',
    500: '#7a671c',
    950: '#000000',
  },
}
SCSS
$custom: #7a671c;
$custom-light: #a4925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a671c",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 47.872,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51801,
    "c": 0.09422,
    "h": 94.3
  },
  "luminance": 0.13922
}

Semantic roles & 50–950 ramp

primary
#7A671C
secondary
#4459AE
accent
#63E642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7A671C

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

Preview Lab → · Contrast checker → · Palette generator →

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