#7C752F#7C752F

#7C752F is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.091 H 103.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7C752F
RGBrgb(124, 117, 47)
HSLhsl(55, 45%, 34%)
HSVhsv(55, 62%, 49%)
CMYKcmyk(0%, 5.6%, 62.1%, 51.4%)
CIE-LABlab(48.53, -6.82, 38.64)
CIE-LCHlch(48.53, 39.24, 100.01°)
OKLaboklab(55.39% -0.0215 0.0889)
OKLCHoklch(55.39% 0.091 103.6)
XYZxyz(15.1871, 17.2134, 5.2113)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C752F #2F367C
analogous
#7C4E2F #7C752F #5C7C2F
triadic
#7C752F #2F7C75 #752F7C
tetradic
#7C752F #2F7C4E #2F367C #7C2F5C
square
#7C752F #2F7C4E #2F367C #7C2F5C
split-complementary
#7C752F #2F5C7C #4E2F7C
monochromatic
#23210D #504B1E #7C752F #A89F40 #C3BB62

Accessibility & contrast

On white

4.73
#7C752F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7C752F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C752F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C752F#FFFFFF#000000##FFFFFF
##7C752F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c752f;
/* rgb */ color: rgb(124, 117, 47);
/* oklch */ color: oklch(55.4% 0.091 103.6);
Tailwind
colors: {
  custom: {
    50: '#a49c6b',
    500: '#7c752f',
    950: '#000000',
  },
}
SCSS
$custom: #7c752f;
$custom-light: #a49c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c752f",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 47
  },
  "hsl": {
    "h": 54.545,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55393,
    "c": 0.09143,
    "h": 103.6
  },
  "luminance": 0.17213
}

Semantic roles & 50–950 ramp

primary
#7C752F
secondary
#5C64AA
accent
#5FD553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7C752F

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

Preview Lab → · Contrast checker → · Palette generator →

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