#7C772E#7C772E

#7C772E is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.094 H 105.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7C772E
RGBrgb(124, 119, 46)
HSLhsl(56, 46%, 33%)
HSVhsv(56, 63%, 49%)
CMYKcmyk(0%, 4%, 62.9%, 51.4%)
CIE-LABlab(49.10, -8.01, 39.75)
CIE-LCHlch(49.10, 40.55, 101.39°)
OKLaboklab(55.85% -0.025 0.0911)
OKLCHoklch(55.85% 0.094 105.4)
XYZxyz(15.4027, 17.6765, 5.1848)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C772E #2E337C
analogous
#7C502E #7C772E #5A7C2E
triadic
#7C772E #2E7C77 #772E7C
tetradic
#7C772E #2E7C50 #2E337C #7C2E5A
square
#7C772E #2E7C50 #2E337C #7C2E5A
split-complementary
#7C772E #2E5A7C #502E7C
monochromatic
#23210D #4F4C1D #7C772E #A9A23F #C4BE60

Accessibility & contrast

On white

4.63
#7C772E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7C772E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C772E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C772E#FFFFFF#000000##FFFFFF
##7C772E1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#856F67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c772e;
/* rgb */ color: rgb(124, 119, 46);
/* oklch */ color: oklch(55.8% 0.094 105.4);
Tailwind
colors: {
  custom: {
    50: '#a49e6a',
    500: '#7c772e',
    950: '#000000',
  },
}
SCSS
$custom: #7c772e;
$custom-light: #a49e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c772e",
  "rgb": {
    "r": 124,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 56.154,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55846,
    "c": 0.09446,
    "h": 105.4
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#7C772E
secondary
#5B60AB
accent
#5BD652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7C772E

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

Preview Lab → · Contrast checker → · Palette generator →

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