#7D752F#7D752F

#7D752F is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.091 H 102.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7D752F
RGBrgb(125, 117, 47)
HSLhsl(54, 45%, 34%)
HSVhsv(54, 62%, 49%)
CMYKcmyk(0%, 6.4%, 62.4%, 51%)
CIE-LABlab(48.62, -6.36, 38.77)
CIE-LCHlch(48.62, 39.29, 99.31°)
OKLaboklab(55.49% -0.0203 0.0891)
OKLCHoklch(55.49% 0.091 102.8)
XYZxyz(15.3324, 17.2884, 5.2181)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D752F #2F377D
analogous
#7D4E2F #7D752F #5E7D2F
triadic
#7D752F #2F7D75 #752F7D
tetradic
#7D752F #2F7D4E #2F377D #7D2F5E
square
#7D752F #2F7D4E #2F377D #7D2F5E
split-complementary
#7D752F #2F5E7D #4E2F7D
monochromatic
#24220E #514B1E #7D752F #A99F40 #C4BA62

Accessibility & contrast

On white

4.71
#7D752F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7D752F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D752F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D752F#FFFFFF#000000##FFFFFF
##7D752F1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d752f;
/* rgb */ color: rgb(125, 117, 47);
/* oklch */ color: oklch(55.5% 0.091 102.8);
Tailwind
colors: {
  custom: {
    50: '#a59c6b',
    500: '#7d752f',
    950: '#000000',
  },
}
SCSS
$custom: #7d752f;
$custom-light: #a59c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d752f",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 47
  },
  "hsl": {
    "h": 53.846,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55489,
    "c": 0.09139,
    "h": 102.8
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#7D752F
secondary
#5D65AB
accent
#60D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7D752F

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

Preview Lab → · Contrast checker → · Palette generator →

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