#7B7325#7B7325

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

Color values

HEX#7B7325
RGBrgb(123, 115, 37)
HSLhsl(54, 54%, 31%)
HSVhsv(54, 70%, 48%)
CMYKcmyk(0%, 6.5%, 69.9%, 51.8%)
CIE-LABlab(47.76, -6.85, 42.44)
CIE-LCHlch(47.76, 42.99, 99.16°)
OKLaboklab(54.73% -0.0227 0.0953)
OKLCHoklch(54.73% 0.098 103.4)
XYZxyz(14.6336, 16.6066, 4.1845)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7325 #252D7B
analogous
#7B4825 #7B7325 #587B25
triadic
#7B7325 #257B73 #73257B
tetradic
#7B7325 #257B48 #252D7B #7B2558
square
#7B7325 #257B48 #252D7B #7B2558
split-complementary
#7B7325 #25587B #48257B
monochromatic
#1D1B09 #4C4717 #7B7325 #AA9F33 #CABF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7325#FFFFFF#000000##FFFFFF
##7B73251.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)
#7D6F1A
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#846B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b7325;
/* rgb */ color: rgb(123, 115, 37);
/* oklch */ color: oklch(54.7% 0.098 103.4);
Tailwind
colors: {
  custom: {
    50: '#a49b64',
    500: '#7b7325',
    950: '#000000',
  },
}
SCSS
$custom: #7b7325;
$custom-light: #a49b64;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7325",
  "rgb": {
    "r": 123,
    "g": 115,
    "b": 37
  },
  "hsl": {
    "h": 54.419,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.098,
    "h": 103.4
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#7B7325
secondary
#4F57AD
accent
#58DD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7B7325

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

Preview Lab → · Contrast checker → · Palette generator →

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