#7A762E#7A762E

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

Color values

HEX#7A762E
RGBrgb(122, 118, 46)
HSLhsl(57, 45%, 33%)
HSVhsv(57, 62%, 48%)
CMYKcmyk(0%, 3.3%, 62.3%, 52.2%)
CIE-LABlab(48.63, -8.37, 39.18)
CIE-LCHlch(48.63, 40.06, 102.06°)
OKLaboklab(55.42% -0.0259 0.0899)
OKLCHoklch(55.42% 0.094 106.1)
XYZxyz(14.9981, 17.2922, 5.1319)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A762E #2E327A
analogous
#7A502E #7A762E #587A2E
triadic
#7A762E #2E7A76 #762E7A
tetradic
#7A762E #2E7A50 #2E327A #7A2E58
square
#7A762E #2E7A50 #2E327A #7A2E58
split-complementary
#7A762E #2E587A #502E7A
monochromatic
#21200C #4E4B1D #7A762E #A6A13F #C3BE60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A762E#FFFFFF#000000##FFFFFF
##7A762E1.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)
#807226
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#836E67
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a762e;
/* rgb */ color: rgb(122, 118, 46);
/* oklch */ color: oklch(55.4% 0.094 106.1);
Tailwind
colors: {
  custom: {
    50: '#a39d6a',
    500: '#7a762e',
    950: '#000000',
  },
}
SCSS
$custom: #7a762e;
$custom-light: #a39d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a762e",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 46
  },
  "hsl": {
    "h": 56.842,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55423,
    "c": 0.09357,
    "h": 106.1
  },
  "luminance": 0.17292
}

Semantic roles & 50–950 ramp

primary
#7A762E
secondary
#5A5EAA
accent
#5AD553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7A762E

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

Preview Lab → · Contrast checker → · Palette generator →

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