#7A671B#7A671B

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

Color values

HEX#7A671B
RGBrgb(122, 103, 27)
HSLhsl(48, 64%, 29%)
HSVhsv(48, 78%, 48%)
CMYKcmyk(0%, 15.6%, 77.9%, 52.2%)
CIE-LABlab(44.12, -1.01, 43.01)
CIE-LCHlch(44.12, 43.02, 91.34°)
OKLaboklab(51.79% -0.0073 0.0946)
OKLCHoklch(51.79% 0.095 94.4)
XYZxyz(13.0748, 13.9179, 3.0345)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A671B #1B2E7A
analogous
#7A381B #7A671B #5E7A1B
triadic
#7A671B #1B7A67 #671B7A
tetradic
#7A671B #1B7A38 #1B2E7A #7A1B5E
square
#7A671B #1B7A38 #1B2E7A #7A1B5E
split-complementary
#7A671B #1B5E7A #381B7A
monochromatic
#191506 #483D10 #7A671B #AC9126 #D4B53C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7a671b;
/* rgb */ color: rgb(122, 103, 27);
/* oklch */ color: oklch(51.8% 0.095 94.4);
Tailwind
colors: {
  custom: {
    50: '#a4925d',
    500: '#7a671b',
    950: '#000000',
  },
}
SCSS
$custom: #7a671b;
$custom-light: #a4925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a671b",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 48,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.09487,
    "h": 94.4
  },
  "luminance": 0.13917
}

Semantic roles & 50–950 ramp

primary
#7A671B
secondary
#4358AE
accent
#62E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A671B

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

Preview Lab → · Contrast checker → · Palette generator →

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