#7C773C#7C773C

#7C773C is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.080 H 104.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7C773C
RGBrgb(124, 119, 60)
HSLhsl(55, 35%, 36%)
HSVhsv(55, 52%, 49%)
CMYKcmyk(0%, 4%, 51.6%, 51.4%)
CIE-LABlab(49.26, -6.80, 32.85)
CIE-LCHlch(49.26, 33.54, 101.70°)
OKLaboklab(56.02% -0.0199 0.0779)
OKLCHoklch(56.02% 0.08 104.3)
XYZxyz(15.7250, 17.8055, 6.8825)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C773C #3C417C
analogous
#7C573C #7C773C #617C3C
triadic
#7C773C #3C7C77 #773C7C
tetradic
#7C773C #3C7C57 #3C417C #7C3C61
square
#7C773C #3C7C57 #3C417C #7C3C61
split-complementary
#7C773C #3C617C #573C7C
monochromatic
#2A2814 #534F28 #7C773C #A59F50 #BDB776

Accessibility & contrast

On white

4.60
#7C773C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7C773C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C773C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C773C#FFFFFF#000000##FFFFFF
##7C773C1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807337
Deuteranopia (green-blind)
#82763F
Tritanopia (blue-blind)
#847069
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c773c;
/* rgb */ color: rgb(124, 119, 60);
/* oklch */ color: oklch(56.0% 0.080 104.3);
Tailwind
colors: {
  custom: {
    50: '#a39e73',
    500: '#7c773c',
    950: '#000000',
  },
}
SCSS
$custom: #7c773c;
$custom-light: #a39e73;
$custom-dark: #000000;
JSON
{
  "hex": "#7c773c",
  "rgb": {
    "r": 124,
    "g": 119,
    "b": 60
  },
  "hsl": {
    "h": 55.313,
    "s": 34.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.0804,
    "h": 104.3
  },
  "luminance": 0.17805
}

Semantic roles & 50–950 ramp

primary
#7C773C
secondary
#6D72A6
accent
#66CB5D
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7C773C

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

Preview Lab → · Contrast checker → · Palette generator →

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