#7A761B#7A761B

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

Color values

HEX#7A761B
RGBrgb(122, 118, 27)
HSLhsl(57, 64%, 29%)
HSVhsv(57, 78%, 48%)
CMYKcmyk(0%, 3.3%, 77.9%, 52.2%)
CIE-LABlab(48.48, -9.52, 47.12)
CIE-LCHlch(48.48, 48.07, 101.42°)
OKLaboklab(55.26% -0.0313 0.1033)
OKLCHoklch(55.26% 0.108 106.9)
XYZxyz(14.7029, 17.1741, 3.5771)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A761B #1B1F7A
analogous
#7A471B #7A761B #4F7A1B
triadic
#7A761B #1B7A76 #761B7A
tetradic
#7A761B #1B7A47 #1B1F7A #7A1B4F
square
#7A761B #1B7A47 #1B1F7A #7A1B4F
split-complementary
#7A761B #1B4F7A #471B7A
monochromatic
#191806 #484610 #7A761B #ACA626 #D4CD3C

Accessibility & contrast

On white

4.74
#7A761B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7A761B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A761B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A761B#FFFFFF#000000##FFFFFF
##7A761B1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a761b;
/* rgb */ color: rgb(122, 118, 27);
/* oklch */ color: oklch(55.3% 0.108 106.9);
Tailwind
colors: {
  custom: {
    50: '#a49d5f',
    500: '#7a761b',
    950: '#000000',
  },
}
SCSS
$custom: #7a761b;
$custom-light: #a49d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a761b",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 57.474,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55259,
    "c": 0.10796,
    "h": 106.9
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#7A761B
secondary
#4347AE
accent
#48E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A761B

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

Preview Lab → · Contrast checker → · Palette generator →

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