#7A6819#7A6819

#7A6819 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.0% C 0.097 H 95.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7A6819
RGBrgb(122, 104, 25)
HSLhsl(49, 66%, 29%)
HSVhsv(49, 80%, 48%)
CMYKcmyk(0%, 14.8%, 79.5%, 52.2%)
CIE-LABlab(44.39, -1.68, 44.05)
CIE-LCHlch(44.39, 44.08, 92.18°)
OKLaboklab(52.01% -0.0094 0.0964)
OKLCHoklch(52.01% 0.097 95.6)
XYZxyz(13.1525, 14.1091, 2.9501)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6819 #192B7A
analogous
#7A3819 #7A6819 #5C7A19
triadic
#7A6819 #197A68 #68197A
tetradic
#7A6819 #197A38 #192B7A #7A195C
square
#7A6819 #197A38 #192B7A #7A195C
split-complementary
#7A6819 #195C7A #38197A
monochromatic
#191605 #473D0F #7A6819 #AD9323 #D6B937

Accessibility & contrast

On white

5.50
#7A6819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7A6819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6819
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6819#FFFFFF#000000##FFFFFF
##7A68191.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746609
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#845F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a6819;
/* rgb */ color: rgb(122, 104, 25);
/* oklch */ color: oklch(52.0% 0.097 95.6);
Tailwind
colors: {
  custom: {
    50: '#a4925d',
    500: '#7a6819',
    950: '#000000',
  },
}
SCSS
$custom: #7a6819;
$custom-light: #a4925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6819",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 48.866,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52007,
    "c": 0.09683,
    "h": 95.6
  },
  "luminance": 0.14108
}

Semantic roles & 50–950 ramp

primary
#7A6819
secondary
#4055AF
accent
#5EE93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7A6819

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

Preview Lab → · Contrast checker → · Palette generator →

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