#7A671E#7A671E

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

Color values

HEX#7A671E
RGBrgb(122, 103, 30)
HSLhsl(48, 61%, 30%)
HSVhsv(48, 75%, 48%)
CMYKcmyk(0%, 15.6%, 75.4%, 52.2%)
CIE-LABlab(44.14, -0.86, 41.79)
CIE-LCHlch(44.14, 41.80, 91.18°)
OKLaboklab(51.82% -0.0065 0.0926)
OKLCHoklch(51.82% 0.093 94)
XYZxyz(13.1113, 13.9325, 3.2267)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A671E #1E317A
analogous
#7A391E #7A671E #5F7A1E
triadic
#7A671E #1E7A67 #671E7A
tetradic
#7A671E #1E7A39 #1E317A #7A1E5F
square
#7A671E #1E7A39 #1E317A #7A1E5F
split-complementary
#7A671E #1E5F7A #391E7A
monochromatic
#191506 #493E12 #7A671E #AB902A #D0B342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A671E#FFFFFF#000000##FFFFFF
##7A671E1.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)
#726513
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#845E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a671e;
/* rgb */ color: rgb(122, 103, 30);
/* oklch */ color: oklch(51.8% 0.093 94.0);
Tailwind
colors: {
  custom: {
    50: '#a4925f',
    500: '#7a671e',
    950: '#000000',
  },
}
SCSS
$custom: #7a671e;
$custom-light: #a4925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a671e",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 47.609,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51817,
    "c": 0.09287,
    "h": 94
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

primary
#7A671E
secondary
#465CAE
accent
#65E444
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7A671E

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

Preview Lab → · Contrast checker → · Palette generator →

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