#7B804D#7B804D

#7B804D is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.072 H 113.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7B804D
RGBrgb(123, 128, 77)
HSLhsl(66, 25%, 40%)
HSVhsv(66, 40%, 50%)
CMYKcmyk(3.9%, 0%, 39.8%, 49.8%)
CIE-LABlab(52.05, -10.34, 27.06)
CIE-LCHlch(52.05, 28.97, 110.91°)
OKLaboklab(58.3% -0.0284 0.0662)
OKLCHoklch(58.3% 0.072 113.2)
XYZxyz(17.2272, 20.1853, 10.0084)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B804D #524D80
analogous
#806B4D #7B804D #62804D
triadic
#7B804D #4D7B80 #804D7B
tetradic
#7B804D #4D806B #524D80 #804D62
square
#7B804D #4D806B #524D80 #804D62
split-complementary
#7B804D #4D6280 #6B4D80
monochromatic
#32341F #565A36 #7B804D #9DA367 #B6BA8D

Accessibility & contrast

On white

4.17
#7B804D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7B804D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B804D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B804D#FFFFFF#000000##000000
##7B804D1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B49
Deuteranopia (green-blind)
#877D4F
Tritanopia (blue-blind)
#817B73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b804d;
/* rgb */ color: rgb(123, 128, 77);
/* oklch */ color: oklch(58.3% 0.072 113.2);
Tailwind
colors: {
  custom: {
    50: '#a2a47f',
    500: '#7b804d',
    950: '#000000',
  },
}
SCSS
$custom: #7b804d;
$custom-light: #a2a47f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b804d",
  "rgb": {
    "r": 123,
    "g": 128,
    "b": 77
  },
  "hsl": {
    "h": 65.882,
    "s": 24.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58297,
    "c": 0.07199,
    "h": 113.2
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

primary
#7B804D
secondary
#8582A7
accent
#67C16F
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7B804D

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

Preview Lab → · Contrast checker → · Palette generator →

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