#7B7327#7B7327

#7B7327 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.096 H 103.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7B7327
RGBrgb(123, 115, 39)
HSLhsl(54, 52%, 32%)
HSVhsv(54, 68%, 48%)
CMYKcmyk(0%, 6.5%, 68.3%, 51.8%)
CIE-LABlab(47.78, -6.72, 41.57)
CIE-LCHlch(47.78, 42.11, 99.18°)
OKLaboklab(54.75% -0.0222 0.0938)
OKLCHoklch(54.75% 0.096 103.3)
XYZxyz(14.6659, 16.6195, 4.3544)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7327 #272F7B
analogous
#7B4927 #7B7327 #597B27
triadic
#7B7327 #277B73 #73277B
tetradic
#7B7327 #277B49 #272F7B #7B2759
square
#7B7327 #277B49 #272F7B #7B2759
split-complementary
#7B7327 #27597B #49277B
monochromatic
#1E1C0A #4D4818 #7B7327 #A99E36 #C9BE54

Accessibility & contrast

On white

4.86
#7B7327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7B7327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B7327
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7327#FFFFFF#000000##FFFFFF
##7B73271.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1D
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#846B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b7327;
/* rgb */ color: rgb(123, 115, 39);
/* oklch */ color: oklch(54.8% 0.096 103.3);
Tailwind
colors: {
  custom: {
    50: '#a49b65',
    500: '#7b7327',
    950: '#000000',
  },
}
SCSS
$custom: #7b7327;
$custom-light: #a49b65;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7327",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 39
  },
  "hsl": {
    "h": 54.286,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.09641,
    "h": 103.3
  },
  "luminance": 0.16619
}

Semantic roles & 50–950 ramp

primary
#7B7327
secondary
#515AAD
accent
#5ADB4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B7327

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

Preview Lab → · Contrast checker → · Palette generator →

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