#767840#767840

#767840 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.078 H 110.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#767840
RGBrgb(118, 120, 64)
HSLhsl(62, 30%, 36%)
HSVhsv(62, 47%, 47%)
CMYKcmyk(1.7%, 0%, 46.7%, 52.9%)
CIE-LABlab(49.08, -9.61, 30.36)
CIE-LCHlch(49.08, 31.84, 107.58°)
OKLaboklab(55.76% -0.0272 0.0728)
OKLCHoklch(55.76% 0.078 110.5)
XYZxyz(15.1134, 17.6550, 7.4611)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767840 #424078
analogous
#785E40 #767840 #5A7840
triadic
#767840 #407678 #784076
tetradic
#767840 #40785E #424078 #78405A
square
#767840 #40785E #424078 #78405A
split-complementary
#767840 #405A78 #5E4078
monochromatic
#282815 #4F502B #767840 #9DA055 #B6B87A

Accessibility & contrast

On white

4.63
#767840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#767840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767840
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767840#FFFFFF#000000##FFFFFF
##7678401.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#807543
Tritanopia (blue-blind)
#7D726B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767840;
/* rgb */ color: rgb(118, 120, 64);
/* oklch */ color: oklch(55.8% 0.078 110.5);
Tailwind
colors: {
  custom: {
    50: '#9f9e76',
    500: '#767840',
    950: '#000000',
  },
}
SCSS
$custom: #767840;
$custom-light: #9f9e76;
$custom-dark: #000000;
JSON
{
  "hex": "#767840",
  "rgb": {
    "r": 118,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 62.143,
    "s": 30.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55764,
    "c": 0.07773,
    "h": 110.5
  },
  "luminance": 0.17655
}

Semantic roles & 50–950 ramp

primary
#767840
secondary
#7371A3
accent
#61C765
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0E08
muted
#7E7E7B

Preview Lab

Preview with #767840

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

Preview Lab → · Contrast checker → · Palette generator →

#767840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva