#7B7627#7B7627

#7B7627 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.099 H 105.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7B7627
RGBrgb(123, 118, 39)
HSLhsl(56, 52%, 32%)
HSVhsv(56, 68%, 48%)
CMYKcmyk(0%, 4.1%, 68.3%, 51.8%)
CIE-LABlab(48.65, -8.40, 42.48)
CIE-LCHlch(48.65, 43.30, 101.19°)
OKLaboklab(55.45% -0.0269 0.0958)
OKLCHoklch(55.45% 0.099 105.7)
XYZxyz(15.0136, 17.3148, 4.4703)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7627 #272C7B
analogous
#7B4C27 #7B7627 #567B27
triadic
#7B7627 #277B76 #76277B
tetradic
#7B7627 #277B4C #272C7B #7B2756
square
#7B7627 #277B4C #272C7B #7B2756
split-complementary
#7B7627 #27567B #4C277B
monochromatic
#1E1D0A #4D4918 #7B7627 #A9A336 #C9C254

Accessibility & contrast

On white

4.71
#7B7627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7B7627 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7627
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7627#FFFFFF#000000##FFFFFF
##7B76271.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721C
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#846E66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b7627;
/* rgb */ color: rgb(123, 118, 39);
/* oklch */ color: oklch(55.4% 0.099 105.7);
Tailwind
colors: {
  custom: {
    50: '#a49d66',
    500: '#7b7627',
    950: '#000000',
  },
}
SCSS
$custom: #7b7627;
$custom-light: #a49d66;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7627",
  "rgb": {
    "r": 123,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 56.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55448,
    "c": 0.09946,
    "h": 105.7
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

primary
#7B7627
secondary
#5156AD
accent
#55DB4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B7627

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

Preview Lab → · Contrast checker → · Palette generator →

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