#7B7727#7B7727

#7B7727 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.7% C 0.101 H 106.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7B7727
RGBrgb(123, 119, 39)
HSLhsl(57, 52%, 32%)
HSVhsv(57, 68%, 48%)
CMYKcmyk(0%, 3.3%, 68.3%, 51.8%)
CIE-LABlab(48.95, -8.96, 42.78)
CIE-LCHlch(48.95, 43.71, 101.82°)
OKLaboklab(55.68% -0.0285 0.0964)
OKLCHoklch(55.68% 0.101 106.5)
XYZxyz(15.1320, 17.5516, 4.5098)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7727 #272B7B
analogous
#7B4D27 #7B7727 #557B27
triadic
#7B7727 #277B77 #77277B
tetradic
#7B7727 #277B4D #272B7B #7B2755
square
#7B7727 #277B4D #272B7B #7B2755
split-complementary
#7B7727 #27557B #4D277B
monochromatic
#1E1D0A #4D4A18 #7B7727 #A9A436 #C9C354

Accessibility & contrast

On white

4.66
#7B7727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7B7727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7727
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7727#FFFFFF#000000##FFFFFF
##7B77271.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721C
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#846F67
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b7727;
/* rgb */ color: rgb(123, 119, 39);
/* oklch */ color: oklch(55.7% 0.101 106.5);
Tailwind
colors: {
  custom: {
    50: '#a49e66',
    500: '#7b7727',
    950: '#000000',
  },
}
SCSS
$custom: #7b7727;
$custom-light: #a49e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7727",
  "rgb": {
    "r": 123,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 57.143,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55681,
    "c": 0.10051,
    "h": 106.5
  },
  "luminance": 0.17551
}

Semantic roles & 50–950 ramp

primary
#7B7727
secondary
#5155AD
accent
#53DB4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B7727

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

Preview Lab → · Contrast checker → · Palette generator →

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