#7B7928#7B7928

#7B7928 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.2% C 0.102 H 107.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7B7928
RGBrgb(123, 121, 40)
HSLhsl(59, 51%, 32%)
HSVhsv(59, 67%, 48%)
CMYKcmyk(0%, 1.6%, 67.5%, 51.8%)
CIE-LABlab(49.54, -10.00, 42.96)
CIE-LCHlch(49.54, 44.10, 103.10°)
OKLaboklab(56.16% -0.0313 0.0969)
OKLCHoklch(56.16% 0.102 107.9)
XYZxyz(15.3893, 18.0394, 4.6784)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7928 #282A7B
analogous
#7B5028 #7B7928 #547B28
triadic
#7B7928 #287B79 #79287B
tetradic
#7B7928 #287B50 #282A7B #7B2854
square
#7B7928 #287B50 #282A7B #7B2854
split-complementary
#7B7928 #28547B #50287B
monochromatic
#1F1E0A #4D4C19 #7B7928 #A9A637 #C8C556

Accessibility & contrast

On white

4.56
#7B7928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7B7928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7928
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7928#FFFFFF#000000##000000
##7B79281.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#847168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b7928;
/* rgb */ color: rgb(123, 121, 40);
/* oklch */ color: oklch(56.2% 0.102 107.9);
Tailwind
colors: {
  custom: {
    50: '#a49f67',
    500: '#7b7928',
    950: '#000000',
  },
}
SCSS
$custom: #7b7928;
$custom-light: #a49f67;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7928",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 58.554,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.10186,
    "h": 107.9
  },
  "luminance": 0.18039
}

Semantic roles & 50–950 ramp

primary
#7B7928
secondary
#5254AD
accent
#51DA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B7928

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

Preview Lab → · Contrast checker → · Palette generator →

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