#7C761A#7C761A

#7C761A is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.108 H 105.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7C761A
RGBrgb(124, 118, 26)
HSLhsl(56, 65%, 29%)
HSVhsv(56, 79%, 49%)
CMYKcmyk(0%, 4.8%, 79%, 51.4%)
CIE-LABlab(48.66, -8.63, 47.70)
CIE-LCHlch(48.66, 48.47, 100.25°)
OKLaboklab(55.44% -0.029 0.1043)
OKLCHoklch(55.44% 0.108 105.6)
XYZxyz(14.9777, 17.3171, 3.5307)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C761A #1A207C
analogous
#7C451A #7C761A #517C1A
triadic
#7C761A #1A7C76 #761A7C
tetradic
#7C761A #1A7C45 #1A207C #7C1A51
square
#7C761A #1A7C45 #1A207C #7C1A51
split-complementary
#7C761A #1A517C #451A7C
monochromatic
#191805 #49460F #7C761A #AFA625 #D6CC3B

Accessibility & contrast

On white

4.70
#7C761A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7C761A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C761A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C761A#FFFFFF#000000##FFFFFF
##7C761A1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817105
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#866D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c761a;
/* rgb */ color: rgb(124, 118, 26);
/* oklch */ color: oklch(55.4% 0.108 105.6);
Tailwind
colors: {
  custom: {
    50: '#a59d5f',
    500: '#7c761a',
    950: '#000000',
  },
}
SCSS
$custom: #7c761a;
$custom-light: #a59d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c761a",
  "rgb": {
    "r": 124,
    "g": 118,
    "b": 26
  },
  "hsl": {
    "h": 56.327,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55444,
    "c": 0.10824,
    "h": 105.6
  },
  "luminance": 0.17317
}

Semantic roles & 50–950 ramp

primary
#7C761A
secondary
#4248B0
accent
#4AE840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C761A

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

Preview Lab → · Contrast checker → · Palette generator →

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