#7C761C#7C761C

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

Color values

HEX#7C761C
RGBrgb(124, 118, 28)
HSLhsl(56, 63%, 30%)
HSVhsv(56, 77%, 49%)
CMYKcmyk(0%, 4.8%, 77.4%, 51.4%)
CIE-LABlab(48.67, -8.54, 47.00)
CIE-LCHlch(48.67, 47.77, 100.30°)
OKLaboklab(55.46% -0.0286 0.1032)
OKLCHoklch(55.46% 0.107 105.5)
XYZxyz(15.0008, 17.3264, 3.6525)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C761C #1C227C
analogous
#7C461C #7C761C #527C1C
triadic
#7C761C #1C7C76 #761C7C
tetradic
#7C761C #1C7C46 #1C227C #7C1C52
square
#7C761C #1C7C46 #1C227C #7C1C52
split-complementary
#7C761C #1C527C #461C7C
monochromatic
#191806 #4A4611 #7C761C #AEA627 #D4CA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C761C#FFFFFF#000000##FFFFFF
##7C761C1.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)
#817109
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#866E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c761c;
/* rgb */ color: rgb(124, 118, 28);
/* oklch */ color: oklch(55.5% 0.107 105.5);
Tailwind
colors: {
  custom: {
    50: '#a59d60',
    500: '#7c761c',
    950: '#000000',
  },
}
SCSS
$custom: #7c761c;
$custom-light: #a59d60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c761c",
  "rgb": {
    "r": 124,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 56.25,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55456,
    "c": 0.10706,
    "h": 105.5
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#7C761C
secondary
#444BB0
accent
#4CE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C761C

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

Preview Lab → · Contrast checker → · Palette generator →

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