#7A681B#7A681B

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

Color values

HEX#7A681B
RGBrgb(122, 104, 27)
HSLhsl(49, 64%, 29%)
HSVhsv(49, 78%, 48%)
CMYKcmyk(0%, 14.8%, 77.9%, 52.2%)
CIE-LABlab(44.40, -1.59, 43.28)
CIE-LCHlch(44.40, 43.31, 92.10°)
OKLaboklab(52.02% -0.0089 0.0952)
OKLCHoklch(52.02% 0.096 95.4)
XYZxyz(13.1749, 14.1181, 3.0678)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A681B #1B2D7A
analogous
#7A391B #7A681B #5D7A1B
triadic
#7A681B #1B7A68 #681B7A
tetradic
#7A681B #1B7A39 #1B2D7A #7A1B5D
square
#7A681B #1B7A39 #1B2D7A #7A1B5D
split-complementary
#7A681B #1B5D7A #391B7A
monochromatic
#191506 #483D10 #7A681B #AC9326 #D4B73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A681B#FFFFFF#000000##FFFFFF
##7A681B1.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)
#74660D
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#845F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a681b;
/* rgb */ color: rgb(122, 104, 27);
/* oklch */ color: oklch(52.0% 0.096 95.4);
Tailwind
colors: {
  custom: {
    50: '#a4925e',
    500: '#7a681b',
    950: '#000000',
  },
}
SCSS
$custom: #7a681b;
$custom-light: #a4925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a681b",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 48.632,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52021,
    "c": 0.09559,
    "h": 95.4
  },
  "luminance": 0.14117
}

Semantic roles & 50–950 ramp

primary
#7A681B
secondary
#4357AE
accent
#60E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7A681B

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

Preview Lab → · Contrast checker → · Palette generator →

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