#7B7328#7B7328

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

Color values

HEX#7B7328
RGBrgb(123, 115, 40)
HSLhsl(54, 51%, 32%)
HSVhsv(54, 67%, 48%)
CMYKcmyk(0%, 6.5%, 67.5%, 51.8%)
CIE-LABlab(47.79, -6.66, 41.12)
CIE-LCHlch(47.79, 41.66, 99.19°)
OKLaboklab(54.76% -0.0218 0.0931)
OKLCHoklch(54.76% 0.096 103.2)
XYZxyz(14.6827, 16.6262, 4.4428)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7328 #28307B
analogous
#7B4A28 #7B7328 #5A7B28
triadic
#7B7328 #287B73 #73287B
tetradic
#7B7328 #287B4A #28307B #7B285A
square
#7B7328 #287B4A #28307B #7B285A
split-complementary
#7B7328 #285A7B #4A287B
monochromatic
#1F1D0A #4D4819 #7B7328 #A99E37 #C8BD56

Accessibility & contrast

On white

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

On black

4.33
#7B7328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B7328#FFFFFF#000000##FFFFFF
##7B73281.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b7328;
/* rgb */ color: rgb(123, 115, 40);
/* oklch */ color: oklch(54.8% 0.096 103.2);
Tailwind
colors: {
  custom: {
    50: '#a49b66',
    500: '#7b7328',
    950: '#000000',
  },
}
SCSS
$custom: #7b7328;
$custom-light: #a49b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7328",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 54.217,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.09559,
    "h": 103.2
  },
  "luminance": 0.16626
}

Semantic roles & 50–950 ramp

primary
#7B7328
secondary
#525BAD
accent
#5BDA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B7328

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

Preview Lab → · Contrast checker → · Palette generator →

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