#767A2A#767A2A

#767A2A is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.102 H 112.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#767A2A
RGBrgb(118, 122, 42)
HSLhsl(63, 49%, 32%)
HSVhsv(63, 66%, 48%)
CMYKcmyk(3.3%, 0%, 65.6%, 52.2%)
CIE-LABlab(49.42, -12.69, 41.80)
CIE-LCHlch(49.42, 43.69, 106.89°)
OKLaboklab(55.96% -0.0384 0.095)
OKLCHoklch(55.96% 0.102 112)
XYZxyz(14.8491, 17.9381, 4.8702)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A2A #2E2A7A
analogous
#7A562A #767A2A #4E7A2A
triadic
#767A2A #2A767A #7A2A76
tetradic
#767A2A #2A7A56 #2E2A7A #7A2A4E
square
#767A2A #2A7A56 #2E2A7A #7A2A4E
split-complementary
#767A2A #2A4E7A #562A7A
monochromatic
#1E1F0B #4A4C1A #767A2A #A2A83A #C0C659

Accessibility & contrast

On white

4.58
#767A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#767A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767A2A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A2A#FFFFFF#000000##000000
##767A2A1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837420
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#7E7369
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767a2a;
/* rgb */ color: rgb(118, 122, 42);
/* oklch */ color: oklch(56.0% 0.102 112.0);
Tailwind
colors: {
  custom: {
    50: '#a0a068',
    500: '#767a2a',
    950: '#000000',
  },
}
SCSS
$custom: #767a2a;
$custom-light: #a0a068;
$custom-dark: #000000;
JSON
{
  "hex": "#767a2a",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 63,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.10242,
    "h": 112
  },
  "luminance": 0.17938
}

Semantic roles & 50–950 ramp

primary
#767A2A
secondary
#5955AB
accent
#4FD856
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #767A2A

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

Preview Lab → · Contrast checker → · Palette generator →

#767A2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva