#7C761F#7C761F

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

Color values

HEX#7C761F
RGBrgb(124, 118, 31)
HSLhsl(56, 60%, 30%)
HSVhsv(56, 75%, 49%)
CMYKcmyk(0%, 4.8%, 75%, 51.4%)
CIE-LABlab(48.69, -8.39, 45.88)
CIE-LCHlch(48.69, 46.64, 100.37°)
OKLaboklab(55.48% -0.0278 0.1014)
OKLCHoklch(55.48% 0.105 105.4)
XYZxyz(15.0386, 17.3415, 3.8511)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C761F #1F257C
analogous
#7C471F #7C761F #537C1F
triadic
#7C761F #1F7C76 #761F7C
tetradic
#7C761F #1F7C47 #1F257C #7C1F53
square
#7C761F #1F7C47 #1F257C #7C1F53
split-complementary
#7C761F #1F537C #471F7C
monochromatic
#1A1907 #4B4713 #7C761F #ADA52B #D0C745

Accessibility & contrast

On white

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

On black

4.47
#7C761F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C761F#FFFFFF#000000##FFFFFF
##7C761F1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#866E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c761f;
/* rgb */ color: rgb(124, 118, 31);
/* oklch */ color: oklch(55.5% 0.105 105.4);
Tailwind
colors: {
  custom: {
    50: '#a59d61',
    500: '#7c761f',
    950: '#000000',
  },
}
SCSS
$custom: #7c761f;
$custom-light: #a59d61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c761f",
  "rgb": {
    "r": 124,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 56.129,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55477,
    "c": 0.10516,
    "h": 105.4
  },
  "luminance": 0.17341
}

Semantic roles & 50–950 ramp

primary
#7C761F
secondary
#484EAF
accent
#4FE345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7C761F

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

Preview Lab → · Contrast checker → · Palette generator →

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