#7A671D#7A671D

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

Color values

HEX#7A671D
RGBrgb(122, 103, 29)
HSLhsl(48, 62%, 30%)
HSVhsv(48, 76%, 48%)
CMYKcmyk(0%, 15.6%, 76.2%, 52.2%)
CIE-LABlab(44.13, -0.91, 42.21)
CIE-LCHlch(44.13, 42.22, 91.23°)
OKLaboklab(51.81% -0.0068 0.0933)
OKLCHoklch(51.81% 0.094 94.1)
XYZxyz(13.0988, 13.9275, 3.1605)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A671D #1D307A
analogous
#7A391D #7A671D #5F7A1D
triadic
#7A671D #1D7A67 #671D7A
tetradic
#7A671D #1D7A39 #1D307A #7A1D5F
square
#7A671D #1D7A39 #1D307A #7A1D5F
split-complementary
#7A671D #1D5F7A #391D7A
monochromatic
#191506 #493D11 #7A671D #AB9129 #D2B440

Accessibility & contrast

On white

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

On black

3.79
#7A671D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A671D#FFFFFF#000000##FFFFFF
##7A671D1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736511
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#845E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a671d;
/* rgb */ color: rgb(122, 103, 29);
/* oklch */ color: oklch(51.8% 0.094 94.1);
Tailwind
colors: {
  custom: {
    50: '#a4925f',
    500: '#7a671d',
    950: '#000000',
  },
}
SCSS
$custom: #7a671d;
$custom-light: #a4925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a671d",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 47.742,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.09355,
    "h": 94.1
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#7A671D
secondary
#455AAE
accent
#64E543
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7A671D

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

Preview Lab → · Contrast checker → · Palette generator →

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