#7A6E1F#7A6E1F

#7A6E1F is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.4% C 0.098 H 100.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7A6E1F
RGBrgb(122, 110, 31)
HSLhsl(52, 59%, 30%)
HSVhsv(52, 75%, 48%)
CMYKcmyk(0%, 9.8%, 74.6%, 52.2%)
CIE-LABlab(46.16, -4.83, 43.36)
CIE-LCHlch(46.16, 43.63, 96.36°)
OKLaboklab(53.42% -0.0177 0.0962)
OKLCHoklch(53.42% 0.098 100.4)
XYZxyz(13.8499, 15.3890, 3.5369)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6E1F #1F2B7A
analogous
#7A411F #7A6E1F #587A1F
triadic
#7A6E1F #1F7A6E #6E1F7A
tetradic
#7A6E1F #1F7A41 #1F2B7A #7A1F58
square
#7A6E1F #1F7A41 #1F2B7A #7A1F58
split-complementary
#7A6E1F #1F587A #411F7A
monochromatic
#181606 #494213 #7A6E1F #AB9A2B #CFBD44

Accessibility & contrast

On white

5.15
#7A6E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7A6E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6E1F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6E1F#FFFFFF#000000##FFFFFF
##7A6E1F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B12
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#84665E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a6e1f;
/* rgb */ color: rgb(122, 110, 31);
/* oklch */ color: oklch(53.4% 0.098 100.4);
Tailwind
colors: {
  custom: {
    50: '#a39760',
    500: '#7a6e1f',
    950: '#000000',
  },
}
SCSS
$custom: #7a6e1f;
$custom-light: #a39760;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6e1f",
  "rgb": {
    "r": 122,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 52.088,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.53424,
    "c": 0.09778,
    "h": 100.4
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#7A6E1F
secondary
#4755AD
accent
#5AE345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A6E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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