#7B752F#7B752F

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

Color values

HEX#7B752F
RGBrgb(123, 117, 47)
HSLhsl(55, 45%, 33%)
HSVhsv(55, 62%, 48%)
CMYKcmyk(0%, 4.9%, 61.8%, 51.8%)
CIE-LABlab(48.44, -7.28, 38.51)
CIE-LCHlch(48.44, 39.19, 100.70°)
OKLaboklab(55.3% -0.0228 0.0886)
OKLCHoklch(55.3% 0.091 104.4)
XYZxyz(15.0433, 17.1393, 5.2046)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B752F #2F357B
analogous
#7B4F2F #7B752F #5B7B2F
triadic
#7B752F #2F7B75 #752F7B
tetradic
#7B752F #2F7B4F #2F357B #7B2F5B
square
#7B752F #2F7B4F #2F357B #7B2F5B
split-complementary
#7B752F #2F5B7B #4F2F7B
monochromatic
#22210D #4F4B1E #7B752F #A79F40 #C3BB62

Accessibility & contrast

On white

4.74
#7B752F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7B752F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B752F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B752F#FFFFFF#000000##FFFFFF
##7B752F1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#817533
Tritanopia (blue-blind)
#846D66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b752f;
/* rgb */ color: rgb(123, 117, 47);
/* oklch */ color: oklch(55.3% 0.091 104.4);
Tailwind
colors: {
  custom: {
    50: '#a39c6b',
    500: '#7b752f',
    950: '#000000',
  },
}
SCSS
$custom: #7b752f;
$custom-light: #a39c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b752f",
  "rgb": {
    "r": 123,
    "g": 117,
    "b": 47
  },
  "hsl": {
    "h": 55.263,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55297,
    "c": 0.09149,
    "h": 104.4
  },
  "luminance": 0.17139
}

Semantic roles & 50–950 ramp

primary
#7B752F
secondary
#5C62AA
accent
#5ED453
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7B752F

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

Preview Lab → · Contrast checker → · Palette generator →

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