#767A40#767A40

#767A40 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.080 H 112.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#767A40
RGBrgb(118, 122, 64)
HSLhsl(64, 31%, 36%)
HSVhsv(64, 48%, 48%)
CMYKcmyk(3.3%, 0%, 47.5%, 52.2%)
CIE-LABlab(49.67, -10.72, 31.08)
CIE-LCHlch(49.67, 32.88, 109.03°)
OKLaboklab(56.24% -0.0303 0.0744)
OKLCHoklch(56.24% 0.08 112.2)
XYZxyz(15.3564, 18.1410, 7.5421)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A40 #44407A
analogous
#7A6140 #767A40 #597A40
triadic
#767A40 #40767A #7A4076
tetradic
#767A40 #407A61 #44407A #7A4059
square
#767A40 #407A61 #44407A #7A4059
split-complementary
#767A40 #40597A #61407A
monochromatic
#282A16 #4F522B #767A40 #9DA255 #B5BA7B

Accessibility & contrast

On white

4.54
#767A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#767A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767A40
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A40#FFFFFF#000000##000000
##767A401.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82753B
Deuteranopia (green-blind)
#827743
Tritanopia (blue-blind)
#7D746C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #767a40;
/* rgb */ color: rgb(118, 122, 64);
/* oklch */ color: oklch(56.2% 0.080 112.2);
Tailwind
colors: {
  custom: {
    50: '#9fa076',
    500: '#767a40',
    950: '#000000',
  },
}
SCSS
$custom: #767a40;
$custom-light: #9fa076;
$custom-dark: #000000;
JSON
{
  "hex": "#767a40",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 64.138,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.08038,
    "h": 112.2
  },
  "luminance": 0.18141
}

Semantic roles & 50–950 ramp

primary
#767A40
secondary
#7572A4
accent
#60C768
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0E08
muted
#7E7E7B

Preview Lab

Preview with #767A40

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

Preview Lab → · Contrast checker → · Palette generator →

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