#7A762F#7A762F

#7A762F is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.093 H 106.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7A762F
RGBrgb(122, 118, 47)
HSLhsl(57, 44%, 33%)
HSVhsv(57, 61%, 48%)
CMYKcmyk(0%, 3.3%, 61.5%, 52.2%)
CIE-LABlab(48.64, -8.29, 38.71)
CIE-LCHlch(48.64, 39.59, 102.09°)
OKLaboklab(55.43% -0.0256 0.0891)
OKLCHoklch(55.43% 0.093 106)
XYZxyz(15.0180, 17.3002, 5.2369)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A762F #2F337A
analogous
#7A502F #7A762F #587A2F
triadic
#7A762F #2F7A76 #762F7A
tetradic
#7A762F #2F7A50 #2F337A #7A2F58
square
#7A762F #2F7A50 #2F337A #7A2F58
split-complementary
#7A762F #2F587A #502F7A
monochromatic
#22210D #4E4B1E #7A762F #A6A140 #C2BD61

Accessibility & contrast

On white

4.71
#7A762F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7A762F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A762F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A762F#FFFFFF#000000##FFFFFF
##7A762F1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#817533
Tritanopia (blue-blind)
#836F67
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a762f;
/* rgb */ color: rgb(122, 118, 47);
/* oklch */ color: oklch(55.4% 0.093 106.0);
Tailwind
colors: {
  custom: {
    50: '#a39d6b',
    500: '#7a762f',
    950: '#000000',
  },
}
SCSS
$custom: #7a762f;
$custom-light: #a39d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a762f",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 47
  },
  "hsl": {
    "h": 56.8,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.09265,
    "h": 106
  },
  "luminance": 0.173
}

Semantic roles & 50–950 ramp

primary
#7A762F
secondary
#5C60A9
accent
#5BD454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7A762F

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

Preview Lab → · Contrast checker → · Palette generator →

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