#7B7927#7B7927

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

Color values

HEX#7B7927
RGBrgb(123, 121, 39)
HSLhsl(59, 52%, 32%)
HSVhsv(59, 68%, 48%)
CMYKcmyk(0%, 1.6%, 68.3%, 51.8%)
CIE-LABlab(49.54, -10.06, 43.39)
CIE-LCHlch(49.54, 44.54, 103.06°)
OKLaboklab(56.15% -0.0316 0.0977)
OKLCHoklch(56.15% 0.103 107.9)
XYZxyz(15.3725, 18.0327, 4.5899)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7927 #27297B
analogous
#7B4F27 #7B7927 #537B27
triadic
#7B7927 #277B79 #79277B
tetradic
#7B7927 #277B4F #27297B #7B2753
square
#7B7927 #277B4F #27297B #7B2753
split-complementary
#7B7927 #27537B #4F277B
monochromatic
#1E1E0A #4D4B18 #7B7927 #A9A736 #C9C654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7927#FFFFFF#000000##000000
##7B79271.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)
#83741C
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#847168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b7927;
/* rgb */ color: rgb(123, 121, 39);
/* oklch */ color: oklch(56.1% 0.103 107.9);
Tailwind
colors: {
  custom: {
    50: '#a49f66',
    500: '#7b7927',
    950: '#000000',
  },
}
SCSS
$custom: #7b7927;
$custom-light: #a49f66;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7927",
  "rgb": {
    "r": 123,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 58.571,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5615,
    "c": 0.10266,
    "h": 107.9
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#7B7927
secondary
#5153AD
accent
#50DB4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B7927

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

Preview Lab → · Contrast checker → · Palette generator →

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