#7A671F#7A671F

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

Color values

HEX#7A671F
RGBrgb(122, 103, 31)
HSLhsl(47, 59%, 30%)
HSVhsv(47, 75%, 48%)
CMYKcmyk(0%, 15.6%, 74.6%, 52.2%)
CIE-LABlab(44.14, -0.81, 41.37)
CIE-LCHlch(44.14, 41.38, 91.12°)
OKLaboklab(51.83% -0.0062 0.092)
OKLCHoklch(51.83% 0.092 93.9)
XYZxyz(13.1243, 13.9377, 3.2950)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A671F #1F327A
analogous
#7A3A1F #7A671F #5F7A1F
triadic
#7A671F #1F7A67 #671F7A
tetradic
#7A671F #1F7A3A #1F327A #7A1F5F
square
#7A671F #1F7A3A #1F327A #7A1F5F
split-complementary
#7A671F #1F5F7A #3A1F7A
monochromatic
#181506 #493E13 #7A671F #AB902B #CFB244

Accessibility & contrast

On white

5.54
#7A671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A671F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A671F#FFFFFF#000000##FFFFFF
##7A671F1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726514
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#845E59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a671f;
/* rgb */ color: rgb(122, 103, 31);
/* oklch */ color: oklch(51.8% 0.092 93.9);
Tailwind
colors: {
  custom: {
    50: '#a49260',
    500: '#7a671f',
    950: '#000000',
  },
}
SCSS
$custom: #7a671f;
$custom-light: #a49260;
$custom-dark: #000000;
JSON
{
  "hex": "#7a671f",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 47.473,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.51826,
    "c": 0.09216,
    "h": 93.9
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#7A671F
secondary
#475DAD
accent
#66E345
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7A671F

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

Preview Lab → · Contrast checker → · Palette generator →

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