#7B752B#7B752B

#7B752B is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.095 H 104.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7B752B
RGBrgb(123, 117, 43)
HSLhsl(56, 48%, 33%)
HSVhsv(56, 65%, 48%)
CMYKcmyk(0%, 4.9%, 65%, 51.8%)
CIE-LABlab(48.40, -7.57, 40.38)
CIE-LCHlch(48.40, 41.09, 100.62°)
OKLaboklab(55.25% -0.0241 0.092)
OKLCHoklch(55.25% 0.095 104.7)
XYZxyz(14.9663, 17.1085, 4.7989)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B752B #2B317B
analogous
#7B4D2B #7B752B #597B2B
triadic
#7B752B #2B7B75 #752B7B
tetradic
#7B752B #2B7B4D #2B317B #7B2B59
square
#7B752B #2B7B4D #2B317B #7B2B59
split-complementary
#7B752B #2B597B #4D2B7B
monochromatic
#201F0B #4E4A1B #7B752B #A8A03B #C6BE5B

Accessibility & contrast

On white

4.75
#7B752B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7B752B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B752B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B752B#FFFFFF#000000##FFFFFF
##7B752B1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#81742F
Tritanopia (blue-blind)
#846D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b752b;
/* rgb */ color: rgb(123, 117, 43);
/* oklch */ color: oklch(55.3% 0.095 104.7);
Tailwind
colors: {
  custom: {
    50: '#a49c68',
    500: '#7b752b',
    950: '#000000',
  },
}
SCSS
$custom: #7b752b;
$custom-light: #a49c68;
$custom-dark: #000000;
JSON
{
  "hex": "#7b752b",
  "rgb": {
    "r": 123,
    "g": 117,
    "b": 43
  },
  "hsl": {
    "h": 55.5,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55254,
    "c": 0.09508,
    "h": 104.7
  },
  "luminance": 0.17108
}

Semantic roles & 50–950 ramp

primary
#7B752B
secondary
#565DAB
accent
#5AD850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7B752B

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

Preview Lab → · Contrast checker → · Palette generator →

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