#7C732F#7C732F

#7C732F is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.089 H 101.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7C732F
RGBrgb(124, 115, 47)
HSLhsl(53, 45%, 34%)
HSVhsv(53, 62%, 49%)
CMYKcmyk(0%, 7.3%, 62.1%, 51.4%)
CIE-LABlab(47.95, -5.69, 38.00)
CIE-LCHlch(47.95, 38.42, 98.52°)
OKLaboklab(54.93% -0.0183 0.0875)
OKLCHoklch(54.93% 0.089 101.8)
XYZxyz(14.9566, 16.7524, 5.1345)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C732F #2F387C
analogous
#7C4C2F #7C732F #5E7C2F
triadic
#7C732F #2F7C73 #732F7C
tetradic
#7C732F #2F7C4C #2F387C #7C2F5E
square
#7C732F #2F7C4C #2F387C #7C2F5E
split-complementary
#7C732F #2F5E7C #4C2F7C
monochromatic
#23210D #504A1E #7C732F #A89C40 #C3B862

Accessibility & contrast

On white

4.83
#7C732F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7C732F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C732F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C732F#FFFFFF#000000##FFFFFF
##7C732F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7028
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#856B64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c732f;
/* rgb */ color: rgb(124, 115, 47);
/* oklch */ color: oklch(54.9% 0.089 101.8);
Tailwind
colors: {
  custom: {
    50: '#a49b6a',
    500: '#7c732f',
    950: '#000000',
  },
}
SCSS
$custom: #7c732f;
$custom-light: #a49b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c732f",
  "rgb": {
    "r": 124,
    "g": 115,
    "b": 47
  },
  "hsl": {
    "h": 52.987,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.08938,
    "h": 101.8
  },
  "luminance": 0.16752
}

Semantic roles & 50–950 ramp

primary
#7C732F
secondary
#5C66AA
accent
#62D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7C732F

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

Preview Lab → · Contrast checker → · Palette generator →

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