#7A761C#7A761C

#7A761C is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.107 H 106.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7A761C
RGBrgb(122, 118, 28)
HSLhsl(57, 63%, 29%)
HSVhsv(57, 77%, 48%)
CMYKcmyk(0%, 3.3%, 77%, 52.2%)
CIE-LABlab(48.48, -9.47, 46.76)
CIE-LCHlch(48.48, 47.71, 101.45°)
OKLaboklab(55.27% -0.0311 0.1028)
OKLCHoklch(55.27% 0.107 106.8)
XYZxyz(14.7147, 17.1788, 3.6391)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A761C #1C207A
analogous
#7A471C #7A761C #4F7A1C
triadic
#7A761C #1C7A76 #761C7A
tetradic
#7A761C #1C7A47 #1C207A #7A1C4F
square
#7A761C #1C7A47 #1C207A #7A1C4F
split-complementary
#7A761C #1C4F7A #471C7A
monochromatic
#191806 #484611 #7A761C #ACA627 #D3CC3E

Accessibility & contrast

On white

4.73
#7A761C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7A761C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A761C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A761C#FFFFFF#000000##FFFFFF
##7A761C1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817109
Deuteranopia (green-blind)
#827523
Tritanopia (blue-blind)
#836E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a761c;
/* rgb */ color: rgb(122, 118, 28);
/* oklch */ color: oklch(55.3% 0.107 106.8);
Tailwind
colors: {
  custom: {
    50: '#a49d60',
    500: '#7a761c',
    950: '#000000',
  },
}
SCSS
$custom: #7a761c;
$custom-light: #a49d60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a761c",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 57.447,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.10736,
    "h": 106.8
  },
  "luminance": 0.17178
}

Semantic roles & 50–950 ramp

primary
#7A761C
secondary
#4448AE
accent
#49E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A761C

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

Preview Lab → · Contrast checker → · Palette generator →

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