#7D761C#7D761C

#7D761C is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.107 H 104.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7D761C
RGBrgb(125, 118, 28)
HSLhsl(56, 63%, 30%)
HSVhsv(56, 78%, 49%)
CMYKcmyk(0%, 5.6%, 77.6%, 51%)
CIE-LABlab(48.76, -8.07, 47.12)
CIE-LCHlch(48.76, 47.80, 99.72°)
OKLaboklab(55.55% -0.0273 0.1034)
OKLCHoklch(55.55% 0.107 104.8)
XYZxyz(15.1461, 17.4013, 3.6593)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D761C #1C237D
analogous
#7D451C #7D761C #547D1C
triadic
#7D761C #1C7D76 #761C7D
tetradic
#7D761C #1C7D45 #1C237D #7D1C54
square
#7D761C #1C7D45 #1C237D #7D1C54
split-complementary
#7D761C #1C547D #451C7D
monochromatic
#191806 #4B4711 #7D761C #AFA527 #D4C93F

Accessibility & contrast

On white

4.69
#7D761C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7D761C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D761C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D761C#FFFFFF#000000##FFFFFF
##7D761C1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817209
Deuteranopia (green-blind)
#837623
Tritanopia (blue-blind)
#876D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d761c;
/* rgb */ color: rgb(125, 118, 28);
/* oklch */ color: oklch(55.6% 0.107 104.8);
Tailwind
colors: {
  custom: {
    50: '#a69d60',
    500: '#7d761c',
    950: '#000000',
  },
}
SCSS
$custom: #7d761c;
$custom-light: #a69d60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d761c",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 55.67,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.10695,
    "h": 104.8
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#7D761C
secondary
#444CB1
accent
#4DE641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D761C

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

Preview Lab → · Contrast checker → · Palette generator →

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