#7D752B#7D752B

#7D752B is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.095 H 103.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D752B
RGBrgb(125, 117, 43)
HSLhsl(54, 49%, 33%)
HSVhsv(54, 66%, 49%)
CMYKcmyk(0%, 6.4%, 65.6%, 51%)
CIE-LABlab(48.58, -6.65, 40.64)
CIE-LCHlch(48.58, 41.18, 99.29°)
OKLaboklab(55.45% -0.0216 0.0925)
OKLCHoklch(55.45% 0.095 103.1)
XYZxyz(15.2554, 17.2576, 4.8125)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D752B #2B337D
analogous
#7D4C2B #7D752B #5C7D2B
triadic
#7D752B #2B7D75 #752B7D
tetradic
#7D752B #2B7D4C #2B337D #7D2B5C
square
#7D752B #2B7D4C #2B337D #7D2B5C
split-complementary
#7D752B #2B5C7D #4C2B7D
monochromatic
#22200C #4F4A1B #7D752B #ABA03B #C7BC5C

Accessibility & contrast

On white

4.72
#7D752B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7D752B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D752B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D752B#FFFFFF#000000##FFFFFF
##7D752B1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d752b;
/* rgb */ color: rgb(125, 117, 43);
/* oklch */ color: oklch(55.4% 0.095 103.1);
Tailwind
colors: {
  custom: {
    50: '#a59c68',
    500: '#7d752b',
    950: '#000000',
  },
}
SCSS
$custom: #7d752b;
$custom-light: #a59c68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d752b",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 43
  },
  "hsl": {
    "h": 54.146,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55447,
    "c": 0.09496,
    "h": 103.1
  },
  "luminance": 0.17257
}

Semantic roles & 50–950 ramp

primary
#7D752B
secondary
#575FAD
accent
#5DD84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D752B

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

Preview Lab → · Contrast checker → · Palette generator →

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