#7A681A#7A681A

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

Color values

HEX#7A681A
RGBrgb(122, 104, 26)
HSLhsl(49, 65%, 29%)
HSVhsv(49, 79%, 48%)
CMYKcmyk(0%, 14.8%, 78.7%, 52.2%)
CIE-LABlab(44.40, -1.63, 43.67)
CIE-LCHlch(44.40, 43.70, 92.14°)
OKLaboklab(52.01% -0.0092 0.0958)
OKLCHoklch(52.01% 0.096 95.5)
XYZxyz(13.1635, 14.1135, 3.0079)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A681A #1A2C7A
analogous
#7A381A #7A681A #5C7A1A
triadic
#7A681A #1A7A68 #681A7A
tetradic
#7A681A #1A7A38 #1A2C7A #7A1A5C
square
#7A681A #1A7A38 #1A2C7A #7A1A5C
split-complementary
#7A681A #1A5C7A #381A7A
monochromatic
#191605 #483D0F #7A681A #AC9325 #D5B839

Accessibility & contrast

On white

5.49
#7A681A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A681A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A681A#FFFFFF#000000##FFFFFF
##7A681A1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660B
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#845F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a681a;
/* rgb */ color: rgb(122, 104, 26);
/* oklch */ color: oklch(52.0% 0.096 95.5);
Tailwind
colors: {
  custom: {
    50: '#a4925d',
    500: '#7a681a',
    950: '#000000',
  },
}
SCSS
$custom: #7a681a;
$custom-light: #a4925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a681a",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 48.75,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52013,
    "c": 0.09622,
    "h": 95.5
  },
  "luminance": 0.14113
}

Semantic roles & 50–950 ramp

primary
#7A681A
secondary
#4156AE
accent
#5FE840
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7A681A

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

Preview Lab → · Contrast checker → · Palette generator →

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