#7B804A#7B804A

#7B804A is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.076 H 113.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7B804A
RGBrgb(123, 128, 74)
HSLhsl(66, 27%, 40%)
HSVhsv(66, 42%, 50%)
CMYKcmyk(3.9%, 0%, 42.2%, 49.8%)
CIE-LABlab(52.00, -10.71, 28.65)
CIE-LCHlch(52.00, 30.58, 110.49°)
OKLaboklab(58.25% -0.0296 0.0696)
OKLCHoklch(58.25% 0.076 113.1)
XYZxyz(17.1238, 20.1440, 9.4633)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B804A #4F4A80
analogous
#806A4A #7B804A #60804A
triadic
#7B804A #4A7B80 #804A7B
tetradic
#7B804A #4A806A #4F4A80 #804A60
square
#7B804A #4A806A #4F4A80 #804A60
split-complementary
#7B804A #4A6080 #6A4A80
monochromatic
#30321D #565934 #7B804A #9EA563 #B6BB89

Accessibility & contrast

On white

4.18
#7B804A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7B804A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B804A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B804A#FFFFFF#000000##000000
##7B804A1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B46
Deuteranopia (green-blind)
#877D4D
Tritanopia (blue-blind)
#817A73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b804a;
/* rgb */ color: rgb(123, 128, 74);
/* oklch */ color: oklch(58.2% 0.076 113.1);
Tailwind
colors: {
  custom: {
    50: '#a2a47d',
    500: '#7b804a',
    950: '#000000',
  },
}
SCSS
$custom: #7b804a;
$custom-light: #a2a47d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b804a",
  "rgb": {
    "r": 123,
    "g": 128,
    "b": 74
  },
  "hsl": {
    "h": 65.556,
    "s": 26.733,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58245,
    "c": 0.07566,
    "h": 113.1
  },
  "luminance": 0.20144
}

Semantic roles & 50–950 ramp

primary
#7B804A
secondary
#827FA7
accent
#65C36D
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7B804A

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

Preview Lab → · Contrast checker → · Palette generator →

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