#7C784B#7C784B

#7C784B is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.5% C 0.064 H 103.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7C784B
RGBrgb(124, 120, 75)
HSLhsl(55, 25%, 39%)
HSVhsv(55, 40%, 49%)
CMYKcmyk(0%, 3.2%, 39.5%, 51.4%)
CIE-LABlab(49.77, -5.70, 25.27)
CIE-LCHlch(49.77, 25.91, 102.72°)
OKLaboklab(56.5% -0.0153 0.062)
OKLCHoklch(56.5% 0.064 103.9)
XYZxyz(16.2989, 18.2264, 9.3147)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C784B #4B4F7C
analogous
#7C604B #7C784B #687C4B
triadic
#7C784B #4B7C78 #784B7C
tetradic
#7C784B #4B7C60 #4B4F7C #7C4B68
square
#7C784B #4B7C60 #4B4F7C #7C4B68
split-complementary
#7C784B #4B687C #604B7C
monochromatic
#302E1D #565334 #7C784B #A19C63 #B8B489

Accessibility & contrast

On white

4.52
#7C784B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7C784B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C784B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C784B#FFFFFF#000000##000000
##7C784B1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7548
Deuteranopia (green-blind)
#81774D
Tritanopia (blue-blind)
#83726D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c784b;
/* rgb */ color: rgb(124, 120, 75);
/* oklch */ color: oklch(56.5% 0.064 103.9);
Tailwind
colors: {
  custom: {
    50: '#a39e7e',
    500: '#7c784b',
    950: '#000000',
  },
}
SCSS
$custom: #7c784b;
$custom-light: #a39e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c784b",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 75
  },
  "hsl": {
    "h": 55.102,
    "s": 24.623,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56499,
    "c": 0.06381,
    "h": 103.9
  },
  "luminance": 0.18226
}

Semantic roles & 50–950 ramp

primary
#7C784B
secondary
#7F82A4
accent
#6EC167
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #7C784B

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

Preview Lab → · Contrast checker → · Palette generator →

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