#7A6F19#7A6F19

#7A6F19 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.6% C 0.102 H 101.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7A6F19
RGBrgb(122, 111, 25)
HSLhsl(53, 66%, 29%)
HSVhsv(53, 80%, 48%)
CMYKcmyk(0%, 9%, 79.5%, 52.2%)
CIE-LABlab(46.41, -5.69, 45.93)
CIE-LCHlch(46.41, 46.28, 97.06°)
OKLaboklab(53.61% -0.0207 0.1004)
OKLCHoklch(53.61% 0.103 101.7)
XYZxyz(13.8866, 15.5773, 3.1948)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6F19 #19247A
analogous
#7A3F19 #7A6F19 #557A19
triadic
#7A6F19 #197A6F #6F197A
tetradic
#7A6F19 #197A3F #19247A #7A1955
square
#7A6F19 #197A3F #19247A #7A1955
split-complementary
#7A6F19 #19557A #3F197A
monochromatic
#191705 #47410F #7A6F19 #AD9D23 #D6C437

Accessibility & contrast

On white

5.10
#7A6F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7A6F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6F19
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6F19#FFFFFF#000000##FFFFFF
##7A6F191.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B06
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#84665F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6f19;
/* rgb */ color: rgb(122, 111, 25);
/* oklch */ color: oklch(53.6% 0.102 101.7);
Tailwind
colors: {
  custom: {
    50: '#a4985d',
    500: '#7a6f19',
    950: '#000000',
  },
}
SCSS
$custom: #7a6f19;
$custom-light: #a4985d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6f19",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 53.196,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53613,
    "c": 0.1025,
    "h": 101.7
  },
  "luminance": 0.15577
}

Semantic roles & 50–950 ramp

primary
#7A6F19
secondary
#404DAF
accent
#52E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A6F19

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

Preview Lab → · Contrast checker → · Palette generator →

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